No commit activity in last 3 years
No release in over 3 years
Integrates Modaal, a jQuery plugin by Humaan, into your Rails app.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
 Project Readme

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:

$ bundle

Or install it yourself as:

$ gem install jquery-modaal-rails

NOTE: 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 modaal

Then into application.scss:

@import 'modaal';

or into application.css:

/*
*= require modaal
*/

Testing

Run

$ bundle install

and then

$ rake spec

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Make sure tests are passing
  4. Commit your changes (git commit -am 'Added some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request.

License

The gem is available as open source under the terms of the MIT License.