Add polyfills to copy/paste code

This commit is contained in:
Andreas Hocevar
2016-07-07 19:06:10 +02:00
parent f959dd7d77
commit 1464da64a6

View File

@@ -73,6 +73,8 @@
<head>
<title>{{ title }}</title>
<link rel="stylesheet" href="http://openlayers.org/en/v{{ olVersion }}/css/ol.css" type="text/css">
<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->
<script src="http://cdn.polyfill.io/v2/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList"></script>
<script src="http://openlayers.org/en/v{{ olVersion }}/build/ol.js"></script>{{#if extraHead.remote}}
{{ indent extraHead.remote spaces=4 }}{{/if}}{{#if css.source}}
<style>