send/app
2018-07-17 09:48:47 -07:00
..
pages adjusted selectbox styles 2018-03-27 23:19:07 -07:00
routes
templates Remove bad role attribute 2018-06-15 10:12:34 -04:00
.eslintrc.yml
api.js fix download count on server (#863) 2018-07-17 09:48:47 -07: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
fileManager.js render header and footer only once. fixes #788 2018-03-12 10:15:11 -07:00
fileReceiver.js more frontend tests and some factoring based on them 2018-02-24 12:57:19 -08:00
fileSender.js MS Edge hacks 2018-03-12 12:24:43 -07:00
keychain.js
main.css updated preview page 2018-02-21 16:40:52 -08:00
main.js Fix #843: Upload image on paste 2018-06-06 12:39:26 +08:00
metrics.js
ownedFile.js some frontend unit tests 2018-02-24 11:21:48 -08:00
pasteManager.js Add return to prevent multiple uploads 2018-06-07 10:46:55 +08:00
readme.md updated docs 2018-03-07 15:01:08 -08:00
storage.js
utils.js fixed cryptofill on edge 2018-03-28 22:03:46 -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