Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 885 Bytes

readme.md

File metadata and controls

22 lines (16 loc) · 885 Bytes

About

The selectivizr-rails gem will include the Selectivizr.js library (http://selectivizr.com/) into your Rails 3.1 or higher app via the asset pipeline.

How to Use

Add the following to your GemFile:
gem 'selectivizr-rails'

Then add the following to your application.js manifest:
//= require selectivizr

Don't forget to run bundle update after upgrading to the latest gem version to ensure it's used by your rails app.

License

This gem code is free to use, modify, distribute or use in any way you would like. The selectivizr library is released under the MIT License ( http://www.opensource.org/licenses/mit-license.php )

Thanks

A large portion of this gem was assembled based on the source code for the modernizer-rails gem (https://github.com/russfrisch/modernizr-rails) by Russ Frisch (https://github.com/russfrisch)