send/app
2019-03-12 21:49:36 -07:00
..
ui
.eslintrc.yml
api.js
archive.js
capabilities.js
controller.js
dragManager.js
ece.js
experiments.js
fileReceiver.js
fileSender.js
fxa.js
keychain.js
locale.js
main.css body overflow-x: hidden. fixes #1219 2019-03-12 13:36:46 -07:00
main.js Merge pull request #1213 from mozilla/localized-filesize 2019-03-12 21:49:36 -07:00
metrics.js
ownedFile.js
pasteManager.js
readme.md
routes.js
serviceWorker.js
storage.js
streams.js
user.js
utils.js localize file sizes 2019-03-12 21:46:50 -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