CrossfilterRails
CrossfilterRails is a small, lightweight gem to help facilitate inclusion of the crossfilter javascript library in your rails application through the asset pipeline.
Version
The current crossfilter version used in this gem is 1.2.0.
Installation
Add this line to your application's Gemfile:
gem 'crossfilter_rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install crossfilter_rails
Usage
You can include the crossfilter library by adding the following to your javascripts manifest (i.e. application.js)
//= require jquery
.
.
//= require crossfilter
or if you prefer the minified version:
//= require jquery
.
.
//= require crossfilter.min
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request