From 46a97079cf4bcb3e7f928c841681d7f225f71c72 Mon Sep 17 00:00:00 2001 From: btopro Date: Mon, 25 Feb 2019 12:25:05 -0500 Subject: [PATCH] better ES5 support though we're kinda hitting a ceiling of support on it because... reasons. --- dist/dev.html | 6 ++--- system/boilerplate/cdns/cdn.waxam.io.html | 20 ++++++++--------- system/boilerplate/cdns/haxtheweb.org.html | 22 +++++++++---------- .../cdns/webcomponents.psu.edu.html | 20 ++++++++--------- 4 files changed, 34 insertions(+), 34 deletions(-) diff --git a/dist/dev.html b/dist/dev.html index 49760a30510..e6edd95888c 100644 --- a/dist/dev.html +++ b/dist/dev.html @@ -79,8 +79,8 @@
HAXcms
loading
+ - diff --git a/system/boilerplate/cdns/cdn.waxam.io.html b/system/boilerplate/cdns/cdn.waxam.io.html index 6bad42ff3a9..c20a6901f09 100644 --- a/system/boilerplate/cdns/cdn.waxam.io.html +++ b/system/boilerplate/cdns/cdn.waxam.io.html @@ -82,7 +82,7 @@ registration.onupdatefound = function () { // The updatefound event implies that registration.installing is set; see // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-container-updatefound-event - const installingWorker = registration.installing; + var installingWorker = registration.installing; installingWorker.onstatechange = function () { switch (installingWorker.state) { case 'installed': @@ -111,10 +111,10 @@ if (navigator.serviceWorker.controller) { navigator.serviceWorker.controller.onstatechange = function(event) { if (event.target.state === 'redundant') { - let b = document.createElement('paper-button'); + var b = document.createElement('paper-button'); b.appendChild(document.createTextNode('Reload')); b.raised = true; - b.addEventListener('click', (e) => { window.location.reload(true); }); + b.addEventListener('click', function(e){ window.location.reload(true); }); window.dispatchEvent(new CustomEvent("simple-toast-show", { bubbles: true, cancelable: false, @@ -165,15 +165,15 @@
{{ title }}
loading
- - - - - + + + + + diff --git a/system/boilerplate/cdns/haxtheweb.org.html b/system/boilerplate/cdns/haxtheweb.org.html index 66626da1710..b230ebccaba 100644 --- a/system/boilerplate/cdns/haxtheweb.org.html +++ b/system/boilerplate/cdns/haxtheweb.org.html @@ -82,7 +82,7 @@ registration.onupdatefound = function () { // The updatefound event implies that registration.installing is set; see // https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#service-worker-container-updatefound-event - const installingWorker = registration.installing; + var installingWorker = registration.installing; installingWorker.onstatechange = function () { switch (installingWorker.state) { case 'installed': @@ -111,10 +111,10 @@ if (navigator.serviceWorker.controller) { navigator.serviceWorker.controller.onstatechange = function (event) { if (event.target.state === 'redundant') { - let b = document.createElement('paper-button'); + var b = document.createElement('paper-button'); b.appendChild(document.createTextNode('Reload')); b.raised = true; - b.addEventListener('click', (e) => { window.location.reload(true); }); + b.addEventListener('click', function(e) { window.location.reload(true); }); window.dispatchEvent(new CustomEvent("simple-toast-show", { bubbles: true, cancelable: false, @@ -165,15 +165,15 @@
{{ title }}
loading
- - - - - + + + + + - - - - + + + + +