Skip to content
rondale-sc edited this page Apr 11, 2012 · 1 revision

Contribute

First off, if you are looking at this page thanks for looking into contributing to Pivot.js. We have attempted to build a system for working with Pivot.js that is both less error-prone and more convenient than traditional single file JS development. To begin:

1. Fork it

2. Create your feature branch (git checkout -b my-new-feature)

bundle
bundle exec guard

The guard command will compile Pivot.js every time you alter and save any JS file in the /src directory.

If you plan on using the demo in Chrome you'll have to open the browser with the --allow-file-access-from-files flag so the CSV can be pulled in properly. On a mac the command for this is:

open -a 'Google Chrome' --args --allow-file-access-from-files

3. Commit your changes (git commit -am 'Added some feature')

4. Push to the branch (git push origin my-new-feature)

5. Create new Pull Request