send/app
Danny Coates 1e62aa976d reimplemented l10n using dynamic import() (#1012)
this should greatly reduce the complexity of the l10n code
and build pipeline and eliminate the most common error
seen in sentry logs (no translate function)
2018-11-20 09:50:59 -05: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 a new approach for the ui 2018-11-01 10:43:43 -07:00
capabilities.js reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
controller.js fixes #1013. dragging page elements 2018-11-19 10:48:52 -08:00
dragManager.js fixes #1013. dragging page elements 2018-11-19 10:48:52 -08:00
ece.js
experiments.js
fileReceiver.js Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
fileSender.js
fxa.js Implement the mechanics of fxa login on android, but don't show ui fo… (#1000) 2018-11-08 16:35:19 -05:00
keychain.js
locale.js reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
main.css fixed filename word-break 2018-11-05 15:46:49 -08:00
main.js reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
metrics.js
ownedFile.js
pasteManager.js added password to upload form 2018-11-01 10:44:45 -07:00
readme.md
routes.js converting some things to choo/component 2018-11-15 15:43:32 -08:00
serviceWorker.js delete old service worker caches 2018-11-16 12:32:32 -08:00
storage.js
streams.js
user.js Implement the mechanics of fxa login on android, but don't show ui fo… (#1000) 2018-11-08 16:35:19 -05:00
utils.js don't render expired uploads 2018-11-16 12:30:15 -08:00
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 pages
  • routes contains route definitions and logic
  • templates contains ui elements smaller than pages