0.0
No release in over 3 years
Low commit activity in last 3 years
Reveal Modals Gem Package
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8.4
>= 0
 Project Readme

jquery-rails

jQuery! For Rails! So great.

This gem provides:

  • reveal modal lib

Installation

Apps generated with Rails 3.1 or later include jquery-rails in the Gemfile by default. So just make a new app:

rails new myapp

If upgrading from an older version of rails, or for rails 3.0 apps, add the jquery-rails gem to your Gemfile.

gem "jquery-rails"
gem "reveal_rails"

And run bundle install. The rest of the installation depends on whether the asset pipeline is being used.

Rails 3.1 or greater (with asset pipeline enabled)

The jquery and jquery-ujs files will be added to the asset pipeline and available for you to use. If they're not already in app/assets/javascripts/application.js by default, add these lines:

//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require reveal

Contributing

Feel free to open an issue ticket if you find something that could be improved. A couple notes:

  • If it's an issue pertaining to the reveal javascript, please report it to the reveal project.

Acknowledgements

Copyright (c) 2013Paul Kruger and Moises Zaragoza, released under the MIT License. Also thanks to the reveal project.