send/app
2020-07-29 11:02:22 -07:00
..
ui implemented download tokens 2020-07-29 11:02:22 -07:00
.eslintrc.yml
api.js implemented download tokens 2020-07-29 11:02:22 -07:00
archive.js
capabilities.js disable streaming download on mobile firefox 2019-08-26 10:49:19 -07:00
controller.js implemented download tokens 2020-07-29 11:02:22 -07:00
crc32.js fixed local without fxa 2020-07-28 08:23:59 -07:00
dragManager.js
ece.js remove browser dependency on "buffer" 2020-07-27 19:23:03 -07:00
experiments.js
fileReceiver.js implemented download tokens 2020-07-29 11:02:22 -07:00
fileSender.js added size and duration to connection error reporting 2019-08-08 09:52:22 -07:00
fxa.js remove browser dependency on "buffer" 2020-07-27 19:23:03 -07:00
keychain.js
locale.js
main.css Begin implementing a reporting mechanism 2020-07-24 08:32:43 -07:00
main.js update promo to be for the vpn 2020-03-31 22:03:08 +02: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 Fixes link to routes file 2019-11-12 19:09:07 +01:00
routes.js refactored storage, style tweaks 2020-07-25 11:25:55 -07:00
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 updated eslint config 2019-08-02 12:03:53 -07:00
user.js fixed local without fxa 2020-07-28 08:23:59 -07:00
utils.js remove browser dependency on "buffer" 2020-07-27 19:23:03 -07:00
zip.js remove browser dependency on "buffer" 2020-07-27 19:23:03 -07:00

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