71ea4e74f6
* Merge branch 'vnext' of https://github.com/mozilla/send into android-preferences Fix conflicts * Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server * Use a try/catch in case localStorage isn't available, which it isn't in a ServiceWorker |
||
---|---|---|
.. | ||
pages | ||
routes | ||
templates | ||
.eslintrc.yml | ||
api.js | ||
archive.js | ||
base.css | ||
capabilities.js | ||
dragManager.js | ||
ece.js | ||
experiments.js | ||
fileManager.js | ||
fileReceiver.js | ||
fileSender.js | ||
fxa.js | ||
keychain.js | ||
main.css | ||
main.js | ||
metrics.js | ||
ownedFile.js | ||
pasteManager.js | ||
readme.md | ||
serviceWorker.js | ||
storage.js | ||
streams.js | ||
user.js | ||
utils.js | ||
zip.js |
Application Code
app/
contains the browser code that gets bundled into app.[hash].js
. It's got all the logic, crypto, and UI. All of it gets used in the browser, and some of it by the server for server side rendering.
The main entrypoint for the browser is main.js and on the server routes/index.js gets imported by /server/routes/pages.js
pages
contains display logic an markup for pagesroutes
contains route definitions and logictemplates
contains ui elements smaller than pages