Skip to content

Commit 42a222a

Browse files
committed
Added polypill for IE support
1 parent ddd1740 commit 42a222a

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

public/views/head.ejs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@
3232
<link rel="stylesheet" href="/css/index.css">
3333
<link rel="stylesheet" href="/css/extra.css">
3434
<link rel="stylesheet" href="/css/site.css">
35+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
36+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
37+
<!--[if lt IE 9]>
38+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
39+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
40+
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
41+
<![endif]-->

public/views/html.hbs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@
2121
<style>
2222
{{{css}}}
2323
</style>
24+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
25+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
26+
<!--[if lt IE 9]>
27+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
28+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
29+
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
30+
<![endif]-->
2431
</head>
2532

2633
<body>

public/views/pretty.ejs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
2626
<link rel="stylesheet" href='<%- url %>/css/extra.css'>
2727
<link rel="stylesheet" href='<%- url %>/css/site.css'>
28+
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
29+
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
30+
<!--[if lt IE 9]>
31+
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
32+
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
33+
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
34+
<![endif]-->
2835
</head>
2936

3037
<body style="display:none;">

0 commit comments

Comments
 (0)