grid
description
Contributers:
- Rolland I. Orgonas
Contents
Usage
Install
Bower is a package manager for the web built by twitter, you should check it out, and download this package.
$ npm install bower -g
$ bower install grid --save
The --save
flag will save grid as a dependency in your project's bower.json
file.
OR
Download this project, take grid.js
or grid.min.js
files out and put them wherever you would like.
Why
Example
There is a small how-to in this repository at example/example.html.
description of what the example does here
To run the example.
$ git clone git@github.com:rorgonas/grid.git
$ cd grid/
$ bower install
$ node ./util/web-server.js
and then navigate to http://localhost:8000/example/example.html
API
Tests
Tests are in the test/
directory, they are written with mocha, and run via testrunner.html
. To get the dependencies for testing, you must have npm and bower installed: npm install -g bower
.
Single Test Run. This is how travis-ci runs the tests.
$ git clone git@github.com:rorgonas/grid.git
$ cd grid/
$ npm install
$ bower install
$ npm test
OR
Run them in the terminal as you Develop!!!
$ git clone git@github.com:rorgonas/grid.git
$ cd grid/
$ npm install
$ bower install
Start a server in one terminal window.
$ grunt nodemon
And then in another terminal window.
$ cd grid/
$ grunt watch
and then just start developing. Grunt will run automated tests with mocha-phantomjs, and JSHint whenever you save files.
Also tests in the browser at http://localhost:8000/testrunner.html
Support
You can make an issue. Pull requests welcome.
your contact info here
component generated with yeoman and backbone-module