From 63612bd2f28c45ff268584746ab614ebd1dabfb1 Mon Sep 17 00:00:00 2001 From: mike-000 <49240900+mike-000@users.noreply.github.com> Date: Tue, 2 Feb 2021 12:55:36 +0000 Subject: [PATCH] Add Number.isInteger polyfill to displayed html --- 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 4562431e01..b6f7598625 100644 --- a/examples/templates/example.html +++ b/examples/templates/example.html @@ -192,9 +192,9 @@ <meta charset="UTF-8"> <title>{{ title }}</title> <!-- Pointer events polyfill for old browsers, see https://caniuse.com/#feat=pointer --> - <script src="https://unpkg.com/elm-pep"></script>{{#if extraHead.remote}} + <script src="https://unpkg.com/elm-pep"></script> <!-- The line below is only needed for old environments like Internet Explorer and Android 4.x --> - <script src="https://cdn.polyfill.io/v3/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList,URL,TextDecoder"></script> + <script src="https://cdn.polyfill.io/v3/polyfill.min.js?features=fetch,requestAnimationFrame,Element.prototype.classList,URL,TextDecoder,Number.isInteger"></script>{{#if extraHead.remote}} {{ indent extraHead.remote spaces=4 }}{{/if}} <style> .map {