send/app
2018-10-08 11:16:06 -07:00
..
pages
routes
templates
.eslintrc.yml a few changes to make A/B testing easier 2017-08-25 09:44:52 -07:00
api.js fixed getFileList when the response isn't OK 2018-09-24 12:23:46 -07:00
archive.js
base.css
capabilities.js
dragManager.js
ece.js
experiments.js
fileManager.js reset page expiry options on logout 2018-09-24 15:25:08 -07:00
fileReceiver.js
fileSender.js
fxa.js
keychain.js
main.css
main.js
metrics.js
ownedFile.js
pasteManager.js
readme.md
serviceWorker.js
storage.js Implemented FxA 2018-08-30 22:10:08 -07:00
streams.js
user.js removed keys_jwe from local storage 2018-10-08 11:16:06 -07:00
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