Magnificpopup::Rails
This gem is meant to be a wrap for the magnific popup jquery plugging.
In contrast to joshuajansen version(https://github.com/joshuajansen/magnific-popup-rails) this is meant to use with bootstrap sass
Installation
Add this line to your application's Gemfile:
gem 'magnificpopup-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install magnificpopup-rails
Usage
add
@import "magnific-rails"
to your css manifest(Remember this is meant to use on sass mode, so avoid the require directive)
for js add
//require magnific-popup
on your js manifest(application.js)
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