send/app
2019-02-20 16:11:54 -08:00
..
ui made account menu keyboard navible 2019-02-20 16:11:54 -08:00
.eslintrc.yml
api.js prefix /api/metrics on android. fixes #1159 2019-02-19 10:46:16 -08:00
archive.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
capabilities.js disable service worker on Edge 2019-02-19 18:53:55 -08:00
controller.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -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 Fix function to calculate encrypted ECE ciphertext length (#1153) 2019-02-18 11:19:15 -08:00
experiments.js
fileReceiver.js Add setApiUrlPrefix and use it in the android version. 2018-11-19 15:10:57 -05:00
fileSender.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
fxa.js fixed some old TODOs 2018-12-18 13:55:46 -08:00
keychain.js removed unused crypto functions 2018-09-04 10:41:45 -07:00
locale.js reimplemented l10n using dynamic import() (#1012) 2018-11-20 09:50:59 -05:00
main.css added outline styles for keyboard nav 2019-02-20 15:58:44 -08:00
main.js added window.app for debugging 2019-02-19 14:14:28 -08:00
metrics.js prefix /api/metrics on android. fixes #1159 2019-02-19 10:46:16 -08:00
ownedFile.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
pasteManager.js exclude text inputs from paste handler 2019-01-29 12:43:09 -08:00
readme.md
routes.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
serviceWorker.js fixed some old TODOs 2018-12-18 13:55:46 -08:00
storage.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
streams.js
user.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
utils.js added download link to tile 2019-01-23 15:10:09 -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