send/app
Donovan Preston 71ea4e74f6
Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server (#918)
* Merge branch 'vnext' of https://github.com/mozilla/send into android-preferences

Fix conflicts

* Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server

* Use a try/catch in case localStorage isn't available, which it isn't in a ServiceWorker
2018-09-06 18:56:04 -04:00
..
pages hide signup promo when logged in 2018-08-31 15:15:25 -07:00
routes Implemented FxA 2018-08-30 22:10:08 -07:00
templates hide signup promo when logged in 2018-08-31 15:15:25 -07:00
.eslintrc.yml
api.js Implement wss preference url in html; Update to work with the tip of vnext branch; allow viewing the android ui from the webpack server (#918) 2018-09-06 18:56:04 -04:00
archive.js Implemented FxA 2018-08-30 22:10:08 -07:00
base.css
capabilities.js adjust streamDownload capability to exclude safari but not chrome 2018-09-04 13:05:11 -07:00
dragManager.js
ece.js
experiments.js
fileManager.js added fxa auth to /ws 2018-08-31 14:30:50 -07:00
fileReceiver.js emit complete for blob downloads 2018-09-04 11:08:44 -07:00
fileSender.js added fxa auth to /ws 2018-08-31 14:30:50 -07:00
fxa.js Implemented FxA 2018-08-30 22:10:08 -07:00
keychain.js removed unused crypto functions 2018-09-04 10:41:45 -07:00
main.css
main.js Implemented FxA 2018-08-30 22:10:08 -07:00
metrics.js
ownedFile.js added fxa auth to /params 2018-08-31 11:43:56 -07:00
pasteManager.js
readme.md
serviceWorker.js minor serviceWorker tweaks to url matching and 302 redirects 2018-09-05 10:35:36 -07:00
storage.js Implemented FxA 2018-08-30 22:10:08 -07:00
streams.js
user.js Implemented FxA 2018-08-30 22:10:08 -07:00
utils.js Implemented FxA 2018-08-30 22:10:08 -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