Danny Coates fb3747785b Merge pull request #846 from pd4d10/patch-1 6 years ago
..
pages fb91fd03cc adjusted selectbox styles 7 years ago
routes 019c8814f6 disable nanotiming without localstorage (as of 7.3.0) 7 years ago
templates e28a92848d Remove bad role attribute 6 years ago
.eslintrc.yml 53e822964e a few changes to make A/B testing easier 7 years ago
api.js d6c0489fa3 more frontend tests and some factoring based on them 7 years ago
base.css 80e9f129d8 ignore some lint warnings 7 years ago
dragManager.js 80e9f129d8 ignore some lint warnings 7 years ago
experiments.js 3163edcbe4 exclude fxios from fxPromo banner. fixes #753 7 years ago
fileManager.js 3e6a88d31d render header and footer only once. fixes #788 7 years ago
fileReceiver.js d6c0489fa3 more frontend tests and some factoring based on them 7 years ago
fileSender.js da82ef814b MS Edge hacks 7 years ago
keychain.js 4fb4041f13 sender no longer needs file nonce 7 years ago
main.css b567aaac69 updated preview page 7 years ago
main.js 608112d56c Fix #843: Upload image on paste 6 years ago
metrics.js f7dc86ab2b reinstate the 'exited' metric. fixes #653 7 years ago
ownedFile.js 78728ce4ca some frontend unit tests 7 years ago
pasteManager.js 11173c520b Add return to prevent multiple uploads 6 years ago
readme.md 18e1609cb3 updated docs 7 years ago
storage.js 4fb4041f13 sender no longer needs file nonce 7 years ago
utils.js cc9b622bde fixed cryptofill on edge 7 years ago

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