Jquery Shapeshift Rails
jQuery Shapeshift is a dynamic grid system with drag and drop functionality. This gem packages it for the asset pipeline in Rails.
You should see the original project page for reference & documentation.
Versions of this gem are matching with versions of represented plugin in it.
Installation
Add this line to your application's Gemfile:
gem 'jquery-shapeshift-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install jquery-shapeshift-rails
Usage
Include jquery.shapeshift javascript rails (application.js):
//= require jquery.shapeshift
Also, you will need to add jquery.touch-punch plugin before including jquery.shapeshift. This plugin can be included from this gem:
//= require jquery.touch-punch
Contributing
- Fork it ( http://github.com/jurrick/jquery-shapeshift-rails/fork )
- 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
License
jQuery Shapeshift as well as this gem are released under the MIT license.