1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00
Onion is the web client for ascribe
Go to file
2015-05-26 15:22:43 +02:00
build Refactor a bit 2015-05-18 18:00:12 +02:00
css Merge remote-tracking branch 'remotes/origin/master' into piece-detail-setup 2015-05-26 13:48:00 +02:00
js Merge branch 'master' into piece-detail-mediaplayer 2015-05-26 15:22:43 +02:00
.gitignore Build pipeline works 2015-05-15 15:18:17 +02:00
index.html start implementing sort 2015-05-20 19:19:57 +02:00
package.json upgrade alt version. Please do npm install and check if altjs is at version 0.16.5 2015-05-22 11:25:21 +02:00
README.md Update readme 2015-05-26 11:12:17 +02:00

Introduction

Onion is the web client for Ascribe. The idea is to have a well documented, easy to test, easy to hack, JavaScript application.

The code is JavaScript ECMA 6.

Getting started

Install some nice extensions for Chrom(e|ium):

git clone git@bitbucket.org:ascribe/onion.git
cd onion
npm install
npm run watch

python -mSimpleHTTPServer

Code Conventions

For this project, we're using:

  • 4 Spaces
  • We use ES6
  • We don't use ES6's class declaration for React components because it does not support Mixins as well as Autobinding (Blog post about it)
  • We don't use camel case for file naming but in everything Javascript related
  • We use let instead of var: SA Post

Troubleshooting

Q: OMG nothing works A: try npm install. Someone may have updated some dependencies

Reading list

Start here

Moar stuff