send/app
2018-11-26 10:36:49 -08:00
..
ui Merge pull request #1010 from mozilla/totalSize 2018-11-19 21:37:31 -08:00
.eslintrc.yml
api.js Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
archive.js
capabilities.js load cryptofill.js async 2018-11-26 10:36:49 -08:00
controller.js fixes #1013. dragging page elements 2018-11-19 10:48:52 -08:00
cryptofill.js load cryptofill.js async 2018-11-26 10:36:49 -08:00
dragManager.js fixes #1013. dragging page elements 2018-11-19 10:48:52 -08:00
ece.js
experiments.js exclude fxios from fxPromo banner. fixes #753 2018-02-15 11:49:41 -08:00
fileReceiver.js Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
fileSender.js
fxa.js
keychain.js
locale.js reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
main.css
main.js reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
metrics.js
ownedFile.js
pasteManager.js
readme.md updated docs 2018-03-07 15:01:08 -08:00
routes.js
serviceWorker.js
storage.js
streams.js
user.js
utils.js
zip.js Implemented multi-file upload/download 2018-07-27 16:40:52 -07:00

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 pages
  • routes contains route definitions and logic
  • templates contains ui elements smaller than pages