pis #2
@ -1,5 +1,6 @@
|
|||||||
// Init:
|
// Init:
|
||||||
pageInit();
|
pageInit();
|
||||||
|
versionDisplay();
|
||||||
|
|
||||||
if ("serviceWorker" in navigator) {
|
if ("serviceWorker" in navigator) {
|
||||||
navigator.serviceWorker.register("/sw.js");
|
navigator.serviceWorker.register("/sw.js");
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* All Page Init */
|
/* All Page Init */
|
||||||
const version = "2.0.0-dev";
|
const version = "2.0.0-dev";
|
||||||
versionDisplay();
|
|
||||||
|
|
||||||
/* Feature Detectors */
|
/* Feature Detectors */
|
||||||
|
|
||||||
@ -46,7 +45,7 @@ const delay = ms => new Promise(res => setTimeout(res, ms));
|
|||||||
/* Maintains backwards compatibility for previous
|
/* Maintains backwards compatibility for previous
|
||||||
implementation of log helper */
|
implementation of log helper */
|
||||||
async function log(msg, type) {
|
async function log(msg, type) {
|
||||||
const mode = "prod"
|
const mode = "dev"
|
||||||
if (mode === "prod" && type != "ERR") {
|
if (mode === "prod" && type != "ERR") {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user