send/app
2019-05-31 09:18:20 -07:00
..
ui a couple promo style tweaks 2019-05-31 09:18:20 -07:00
.eslintrc.yml
api.js
archive.js
capabilities.js added survey dialog. closes #1307 2019-05-01 09:47:04 -07:00
controller.js added survey dialog. closes #1307 2019-05-01 09:47:04 -07:00
dragManager.js
ece.js
experiments.js added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
fileReceiver.js
fileSender.js
fxa.js
keychain.js
locale.js
main.css added line-break: anywhere; fixes #1326 2019-05-28 15:08:58 -07:00
main.js added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
metrics.js added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
ownedFile.js
pasteManager.js
readme.md
routes.js
serviceWorker.js
storage.js added signin button color experiment. closes #1306 (#1320) 2019-05-03 13:10:56 -04:00
streams.js
user.js added survey dialog. closes #1307 2019-05-01 09:47:04 -07:00
utils.js added survey dialog. closes #1307 2019-05-01 09:47:04 -07:00
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