fox-send/app
Danny Coates 5079d9a317
Merge pull request #782 from mozilla/docs
updated docs
2018-03-07 15:20:11 -08:00
..
pages ignore some lint warnings 2018-03-01 21:36:45 -08:00
routes disable nanotiming without localstorage (as of 7.3.0) 2018-02-20 16:00:19 -08:00
templates fixed password input style on small screens 2018-03-01 21:33:59 -08:00
.eslintrc.yml a few changes to make A/B testing easier 2017-08-25 09:44:52 -07:00
api.js more frontend tests and some factoring based on them 2018-02-24 12:57:19 -08:00
base.css ignore some lint warnings 2018-03-01 21:36:45 -08:00
dragManager.js ignore some lint warnings 2018-03-01 21:36:45 -08:00
experiments.js exclude fxios from fxPromo banner. fixes #753 2018-02-15 11:49:41 -08:00
fileManager.js updated docs 2018-03-07 15:01:08 -08:00
fileReceiver.js more frontend tests and some factoring based on them 2018-02-24 12:57:19 -08:00
fileSender.js more frontend tests and some factoring based on them 2018-02-24 12:57:19 -08:00
keychain.js sender no longer needs file nonce 2018-01-31 11:12:36 -08:00
main.css updated preview page 2018-02-21 16:40:52 -08:00
main.js implemented crypto polyfills for ms edge 2018-03-01 13:10:57 -08:00
metrics.js reinstate the 'exited' metric. fixes #653 2018-01-19 15:07:05 -08:00
ownedFile.js some frontend unit tests 2018-02-24 11:21:48 -08:00
readme.md updated docs 2018-03-07 15:01:08 -08:00
storage.js sender no longer needs file nonce 2018-01-31 11:12:36 -08:00
utils.js Don't translate URL-safe chars, b64 is doing it for us 2018-03-06 14:38:29 +01:00

readme.md

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