Permalink
Browse files

Add HTML5 Shiv for old IEs

  • Loading branch information...
1 parent 4796484 commit 4a6f1130cd26b3e353e5e77e15cb1cfb957fcc37 @john-griffin john-griffin committed Oct 9, 2012
Showing with 8 additions and 1 deletion.
  1. +4 −0 app/views/layouts/application.html.erb
  2. +1 −1 config/application.rb
  3. +3 −0 vendor/assets/javascripts/html5.js
@@ -5,6 +5,10 @@
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'bootstrap.min.css', 'application.css' %>
<%= yield :extra_headers %>
+ <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
+ <!--[if lt IE 9]>
+ <%= javascript_include_tag "html5" %>
+ <![endif]-->
</head>
<body>
View
@@ -31,7 +31,7 @@ class Application < Rails::Application
chosen-sprite.png
glyphicons-halflings-white.png glyphicons-halflings.png
header-crown.png icon-answer.png icon-custom-application.png icon-guide.png icon-local_transaction.png
- icon-place.png icon-programme.png icon-service.png icon-transaction.png icon-transaction.png icon-completed_transaction.png icon-smart-answer.png)
+ icon-place.png icon-programme.png icon-service.png icon-transaction.png icon-transaction.png icon-completed_transaction.png icon-smart-answer.png html5.js)
# Custom directories with classes and modules you want to be autoloadable.
# config.autoload_paths += %W(#{config.root}/app/repositories)

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 4a6f113

Please sign in to comment.