send/app
2019-08-09 11:47:44 -07:00
..
ui
.eslintrc.yml
api.js handle websocket construction exceptions 2019-08-09 11:47:44 -07:00
archive.js
capabilities.js
controller.js updated sentry libs from raven to @sentry 2019-08-09 11:06:21 -07:00
dragManager.js
ece.js
experiments.js
fileReceiver.js added download hang detection and error reporting 2019-08-08 13:54:02 -07:00
fileSender.js added size and duration to connection error reporting 2019-08-08 09:52:22 -07:00
fxa.js
keychain.js
locale.js
main.css
main.js updated sentry libs from raven to @sentry 2019-08-09 11:06:21 -07:00
metrics.js added size and duration to connection error reporting 2019-08-08 09:52:22 -07:00
ownedFile.js
pasteManager.js
readme.md
routes.js
serviceWorker.js
storage.js
streams.js updated eslint config 2019-08-02 12:03:53 -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