Rails::Gem
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'sudo-js-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install sudo-js-rails
Usage
Reqiure the desired files from the sudo-js namespace in your JS manifests:
//= require sudo-js/zepto
//= reqiure sudo-js/sudo
If you are supporting legacy browsers, require the es5-shim and es5-sham
//= require sudo-js/es5-shim
//= reqiure sudo-js/es5-sham
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