1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-21 02:01:56 +01:00
Onion is the web client for ascribe
Go to file
2015-06-05 14:14:59 +02:00
fonts
js Lint code 2015-06-05 14:14:59 +02:00
sass
.eslintrc
.gitignore
gulpfile.js
index.html
package.json
README.md

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
gulp serve

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