Sidr for Rails
Wraps the Sidr javascript lib for the Rails' Asset Pipeline.
All the swag for this awesome lib goes out to Alberto Varela.
All I did was package for ease of use.
Installation
Add this line to your application's Gemfile:
gem 'sidr-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sidr-rails
Usage
Add the javascript to your javascript manifest:
//= require jquery.sidr
Optionally add one of the included stylesheets to your CSS manifest:
*= require jquery.sidr.light
*= require jquery.sidr.dark
That's all.
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