Use pepjs in examples to support more old/exotic browsers

This commit is contained in:
Andreas Hocevar
2020-06-17 08:49:54 +02:00
parent 1742f18eec
commit f3d5bfc1d3

View File

@@ -149,8 +149,8 @@
<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=fetch,requestAnimationFrame,Element.prototype.classList,URL"></script>
<!-- Pointer events polyfill for old browsers, seehttps://caniuse.com/#feat=pointer -->
<script src="https://unpkg.com/elm-pep"></script>{{#if extraHead.remote}}
<!-- Pointer events polyfill for old browsers, see https://caniuse.com/#feat=pointer -->
<script src="https://unpkg.com/@openlayers/pepjs"></script>{{#if extraHead.remote}}
{{ indent extraHead.remote spaces=4 }}{{/if}}
<style>
.map {