summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
authorWu Cheng-Han2016-01-12 07:37:04 -0600
committerWu Cheng-Han2016-01-12 07:37:04 -0600
commit42a222a7c88f20429e18adac1eeeca65375ccfe4 (patch)
treecd6bf6d46da93fd6761d6c1e73e1314cf3b2ecea /public/views
parentddd1740f7132c2f95644926468c7be005e887a91 (diff)
Added polypill for IE support
Diffstat (limited to '')
-rw-r--r--public/views/head.ejs7
-rw-r--r--public/views/html.hbs7
-rw-r--r--public/views/pretty.ejs7
3 files changed, 21 insertions, 0 deletions
diff --git a/public/views/head.ejs b/public/views/head.ejs
index 4d6901b4..fa690108 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -32,3 +32,10 @@
<link rel="stylesheet" href="/css/index.css">
<link rel="stylesheet" href="/css/extra.css">
<link rel="stylesheet" href="/css/site.css">
+<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
+<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+<!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
+<![endif]--> \ No newline at end of file
diff --git a/public/views/html.hbs b/public/views/html.hbs
index e604ee94..e3aa1331 100644
--- a/public/views/html.hbs
+++ b/public/views/html.hbs
@@ -21,6 +21,13 @@
<style>
{{{css}}}
</style>
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
+ <![endif]-->
</head>
<body>
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index a81f20c9..a1311b19 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -25,6 +25,13 @@
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
<link rel="stylesheet" href='<%- url %>/css/extra.css'>
<link rel="stylesheet" href='<%- url %>/css/site.css'>
+ <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
+ <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
+ <![endif]-->
</head>
<body style="display:none;">