send/app
2019-03-26 09:58:04 -07:00
..
ui Merge pull request #1237 from mozilla/quick-style-banner 2019-03-13 11:42:14 -07:00
.eslintrc.yml
api.js Really switch the android beta to use send.firefox.com. 2019-03-12 13:59:30 -04:00
archive.js
capabilities.js enable promo banner 2019-03-13 10:30:27 -07:00
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 error if file from localStorage is old (no manifest) 2019-03-12 07:39:50 -07:00
pasteManager.js fixed paste email bug 2019-03-12 08:37:43 -07:00
readme.md
routes.js
serviceWorker.js
storage.js
streams.js
user.js fixed fxa entrypoint param name... 🤦‍♂️ 2019-03-21 09:30:13 -07:00
utils.js fixed isFile for extended file id size 2019-03-26 09:58:04 -07:00
zip.js fixed incorrect uncompressed size in zip 2019-03-16 09:19:28 -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/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