jQuery for Middleman! forked from jquery-rails
This gem provides:
- jQuery 1.11.2
- assert_select_jquery to test jQuery responses in Ruby tests
the gem's version follows it's upstream jquery-rails
See VERSIONS.md to see which versions of jquery-middleman bundle which versions of jQuery.
add the jquery-middleman gem to your Gemfile.
gem "jquery-middleman"
And run bundle install
.
add these lines to your javascript:
//= require jquery
You're done!
Feel free to open an issue ticket if you find something that could be improved. A couple notes:
- If the jquery scripts are outdated (i.e. maybe a new version of jquery was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated jquery scripts.
Great thank for André Arko, this gem is forked by his jquery-rails.
Copyright jasl, released under the MIT License.