Don't use polyfill.io unless necessary

This commit is contained in:
Rico Sta. Cruz 2017-10-13 02:46:52 +08:00
parent e75c43743f
commit 9d16265a85
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 3 additions and 2 deletions

View File

@ -1,8 +1,9 @@
<script src='https://cdn.polyfill.io/v2/polyfill.min.js'></script> <script>(function(d,s){if(window.Promise&&[].includes&&Object.assign&&window.Map)return;var js,sc=d.getElementsByTagName(s)[0];js=d.createElement(s);js.src='https://cdn.polyfill.io/v2/polyfill.min.js';sc.parentNode.insertBefore(js, sc);}(document,'script'))</script>
<!--[if lt IE 9]>{%comment%} <!--[if lt IE 9]>{%comment%}
{%endcomment%}<script src='//cdnjs.cloudflare.com/ajax/libs/nwmatcher/1.2.5/nwmatcher.min.js'></script>{%comment%} {%endcomment%}<script src='//cdnjs.cloudflare.com/ajax/libs/nwmatcher/1.2.5/nwmatcher.min.js'></script>{%comment%}
{%endcomment%}<script src='//cdnjs.cloudflare.com/ajax/libs/json2/20140204/json2.js'></script>{%comment%} {%endcomment%}<script src='//cdnjs.cloudflare.com/ajax/libs/json2/20140204/json2.js'></script>{%comment%}
{%endcomment%}<script src='//cdn.rawgit.com/gisu/selectivizr/1.0.3/selectivizr.js'></script>{%comment%} {%endcomment%}<script src='//cdn.rawgit.com/gisu/selectivizr/1.0.3/selectivizr.js'></script>{%comment%}
{%endcomment%}<script src='//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js'></script>{%comment%} {%endcomment%}<script src='//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js'></script>{%comment%}
{%endcomment%}<script src='//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js'></script>{%comment%} {%endcomment%}<script src='//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.js'></script>{%comment%}
{%endcomment%}<![endif]--> {%endcomment%}<![endif]-->