send/app
2018-11-05 20:55:26 -08:00
..
ui add click handler to whole empty area 2018-11-05 20:55:26 -08:00
.eslintrc.yml
api.js
archive.js
capabilities.js
dragManager.js removed unused code 2018-11-01 10:44:47 -07:00
ece.js
experiments.js
fileManager.js
fileReceiver.js
fileSender.js
fxa.js
keychain.js
main.css fixed filename word-break 2018-11-05 15:46:49 -08:00
main.js removed unused code 2018-11-01 10:44:47 -07:00
metrics.js
ownedFile.js
pasteManager.js
readme.md
routes.js style updated for chrome 2018-11-05 15:00:35 -08:00
serviceWorker.js
storage.js
streams.js
user.js log out when the auth token is expired 2018-11-05 15:56:59 -08: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