Skip to content

Commit

Permalink
download the cdn promise polyfill for IE only, IE 11 is also the mini…
Browse files Browse the repository at this point in the history
…mum now
  • Loading branch information
FredericHeem committed Mar 10, 2017
1 parent 7c0358a commit 99eb387
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion client/src/index.ejs
Expand Up @@ -13,7 +13,7 @@
</head>

<body>
<!--[if lt IE 8]>
<!--[if lt IE 11]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade
your browser</a> to improve your experience.</p>
<![endif]-->
Expand Down Expand Up @@ -41,7 +41,11 @@
<i class="icon-spin1 animate-spin"></i>
</div>
</div>

<!--[if IE]>
<script src="https://cdn.polyfill.io/v2/polyfill.js?features=Promise"></script>
<![endif]-->

<!--The application-->
<% for (var chunk in htmlWebpackPlugin.files.chunks) { %>
<script src="/<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script>
Expand Down

0 comments on commit 99eb387

Please sign in to comment.