Repository is archived
No commit activity in last 3 years
No release in over 3 years
For all of you, who prefer to add JS libraries via gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0

Runtime

< 5.1, >= 4.0
 Project Readme

html5shiv-js-rails

This gem adds html5shiv to your rails assets.

Usage

Add the following to your Gemfile:

gem 'html5shiv-js-rails'

then run:

bundle install

Now you only need to add the following to your layout:

<!--[if lt IE 9]>
  <%= javascript_include_tag 'html5shiv' %>
<![endif]-->

License

Same as html5shiv itself, this gem is dual licensed under the MIT and the GPLv2 license.