Make examples work in Internet Explorer

This commit is contained in:
Andreas Hocevar
2020-02-05 20:11:33 +01:00
parent 97246daf66
commit 65c1575dc9
6 changed files with 13 additions and 10 deletions

View File

@@ -139,7 +139,7 @@
<head>
<title>{{ title }}</title>
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL"></script>{{#if extraHead.remote}}
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList,URL"></script>{{#if extraHead.remote}}
{{ indent extraHead.remote spaces=4 }}{{/if}}
<style>
.map {