Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add html5 shim for ie

  • Loading branch information...
commit fb534076425c5aa5aabeff1ac63b1b21cc818f5a 1 parent dca49ff
@ratbeard authored
View
3  public/javascripts/html5.js
@@ -0,0 +1,3 @@
+// For discussion and comments, see: http://remysharp.com/2009/01/07/html5-enabling-script/
+ alert(6)
+;(function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,bb,canvas,datagrid,datalist,details,dialog,eventsource,figure,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,time,video".split(',');for(var i=0;i<e.length;i++){document.createElement(e[i])}})()
View
6 views/layout.haml
@@ -11,7 +11,11 @@
| | | || .-. |\ `' /| .-. : | | | .-. || || || | | '--' || |' ,-. || .--'
| | | |' '-' ' \ / \ --. ' '--'\| | | |' '' '| | | | | | --' | |\ '-' || |
`--' `--' `---' `--' `----' `-----'`--' `--' `----' `--`--`--' `--' `--' `--`--'`--'
+ /[if lte IE 8]
+ %script{ :src => "javascripts/html5.js" }
+
+
%body{ :class => page_classes }
#container
%header
@@ -25,4 +29,4 @@
%script{ :src => "https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js" }
%script{ :src => "javascripts/app.js" }
-
View
4 views/stylesheets/site.css.sass
@@ -42,7 +42,7 @@ ul.links
#container
+container
- // +grid-background($blueprint-grid-columns, $blueprint-grid-width, $blueprint-grid-margin)
+ //+grid-background($blueprint-grid-columns, $blueprint-grid-width, $blueprint-grid-margin)
header
+column(12, true)
@@ -148,4 +148,4 @@ section.registered
-
Please sign in to comment.
Something went wrong with that request. Please try again.