Merge pull request #11192 from ahocevar/jquery-pep

Use pepjs in examples to support more old/exotic browsers
This commit is contained in:
Andreas Hocevar
2020-06-17 16:48:54 +02:00
committed by GitHub

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 {