pis #2

Merged
fred.boniface merged 76 commits from pis into main 2023-05-06 21:53:45 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 74fcbe6ac9 - Show all commits

View File

@ -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");

View File

@ -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;
} }