From f3d5bfc1d3ef8ef117eb40cf21812c9c812ed601 Mon Sep 17 00:00:00 2001 From: Andreas Hocevar Date: Wed, 17 Jun 2020 08:49:54 +0200 Subject: [PATCH] Use pepjs in examples to support more old/exotic browsers --- examples/templates/example.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/templates/example.html b/examples/templates/example.html index e8cb2ba0be..71b839bcd2 100644 --- a/examples/templates/example.html +++ b/examples/templates/example.html @@ -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 {