send/app
2019-04-11 11:08:48 -07:00
..
ui
.eslintrc.yml a few changes to make A/B testing easier 2017-08-25 09:44:52 -07:00
api.js
archive.js
capabilities.js enable promo banner 2019-03-13 10:30:27 -07:00
controller.js try web share api 2019-03-09 17:59:21 -08:00
dragManager.js fixes #1013. dragging page elements 2018-11-19 10:48:52 -08:00
ece.js
experiments.js found source of double-render, removed old experiment 2019-02-25 14:03:08 -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 fixed some old TODOs 2018-12-18 13:55:46 -08:00
keychain.js removed old encryption key implementation 2019-04-11 10:24:29 -07:00
locale.js
main.css
main.js
metrics.js
ownedFile.js
pasteManager.js
readme.md updated docs 2018-03-07 15:01:08 -08:00
routes.js enabled accounts on Edge 2019-02-25 11:44:44 -08:00
serviceWorker.js
storage.js
streams.js Implemented multi-file upload/download 2018-07-27 16:40:52 -07:00
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 pages
  • routes contains route definitions and logic
  • templates contains ui elements smaller than pages