jquery-modaal-rails
A ruby gem that uses the Rails asset pipeline to include the jQuery Modaal plugin by humaan (http://www.humaan.com/modaal/).
Installation
Add this line to your application's Gemfile:
gem 'jquery-modaal-rails'And then execute:
$ bundleOr install it yourself as:
$ gem install jquery-modaal-railsNOTE: this is a jQuery plugin so you will also need the jquery-rails gem (it is not added by default starting from Rails 5.1):
Usage
You will need to add this line into your application.js:
//= require modaalThen into application.scss:
@import 'modaal';or into application.css:
/*
*= require modaal
*/Testing
Run
$ bundle installand then
$ rake specContributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Make sure tests are passing
- Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request.
License
The gem is available as open source under the terms of the MIT License.