gridstack-js-rails provides the gridstack.js library as a Rails engine to use it within the asset pipeline.
Original Git source - https://github.com/gridstack/gridstack.js
Add this to your Gemfile:
$ gem gridstack-js-rails
and run bundle install.
In your application.js
, include the following:
//= require gridstack-all
In your application.css
, include the following:
*= require gridstack.min
The gem is available as open source under the terms of the MIT License.
Execute bin/update
to update the assets and the version of the gem.
Then push your changes to github and create a release tag.
- 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