send/app
2019-02-15 14:42:09 -08:00
..
ui updated password input style 2019-02-15 14:42:09 -08:00
.eslintrc.yml
api.js use blob instead of stream to get file list. fixes #1084 2019-01-10 11:10:51 -08:00
archive.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
capabilities.js initial state refactor 2018-12-13 11:12:06 -08:00
controller.js implemented amplitude metrics (#1141) 2019-02-12 11:50:06 -08:00
cryptofill.js
dragManager.js
ece.js
experiments.js
fileReceiver.js
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
locale.js
main.css updated intro image 2019-02-14 16:16:30 -08:00
main.js use one Archive instance for state.archive 2018-12-21 10:54:38 -08:00
metrics.js use text/plain on /api/metrics 2019-02-15 11:59:39 -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