send/app
2020-07-29 20:56:39 -07:00
..
ui give 404 and error pages the loggedin/ok treatment 2020-07-29 20:56:39 -07:00
.eslintrc.yml
api.js implemented download tokens 2020-07-29 11:02:22 -07:00
archive.js
capabilities.js
controller.js handle unknown errors in getMetadata 2020-07-29 18:52:55 -07:00
crc32.js fixed local without fxa 2020-07-28 08:23:59 -07:00
dragManager.js
ece.js
experiments.js
fileReceiver.js implemented download tokens 2020-07-29 11:02:22 -07:00
fileSender.js
fxa.js
keychain.js
locale.js
main.css
main.js
metrics.js
ownedFile.js
pasteManager.js
readme.md
routes.js
serviceWorker.js implemented download tokens 2020-07-29 11:02:22 -07:00
storage.js implemented download tokens 2020-07-29 11:02:22 -07:00
streams.js
user.js fixed local without fxa 2020-07-28 08:23:59 -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.js is 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