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