Permalink
Browse files

Issue 116. Only IE is checked for HTML5 compatibility

  • Loading branch information...
1 parent 40c15d4 commit 96ac361b8a46a3b1af01aaf3b790c0827e3821c5 @tipiirai tipiirai committed Apr 26, 2011
Showing with 7 additions and 5 deletions.
  1. +7 −5 src/core.js
View
@@ -100,12 +100,14 @@
for (var ver = 3; ver < 11; ver++) {
if (parseFloat(ua[2]) < ver) { pushClass("lt-ie" + ver); }
}
- }
- // HTML5 support
- each("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"), function(el) {
- doc.createElement(el);
- });
+ // HTML5 support
+ each("abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video".split("|"), function(el) {
+ doc.createElement(el);
+ });
+
+ }
+
// CSS "router"
each(location.pathname.split("/"), function(el, i) {

0 comments on commit 96ac361

Please sign in to comment.