From 8bc6e8b0aa0c6543c8dcd64551f859d0965ab104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 12 Mar 2020 12:54:11 +0100 Subject: setup-storage critical fix (sw error) 1.0.12.35-beta --- js/gsec.js | 1 - js/setup-storage.js | 2 +- pages/about.html | 2 +- sw.js | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/js/gsec.js b/js/gsec.js index 097393a..28aca68 100644 --- a/js/gsec.js +++ b/js/gsec.js @@ -178,7 +178,6 @@ class gsec { var subjectStrings = subFields[2].innerHTML.split("
"); for(const subjectString of subjectStrings) { // todo: https://github.com/sijanec/gimsisextclient/blob/master/main.php#L270 - var subjectName = } } }) diff --git a/js/setup-storage.js b/js/setup-storage.js index 8a6604c..0fe26d2 100644 --- a/js/setup-storage.js +++ b/js/setup-storage.js @@ -29,7 +29,7 @@ async function setupStorage(force = false) { localforage.setItem("chosenLang", "en") ]; await localforage.clear(); - await Promises.all(promises_first_install); + await Promise.all(promises_first_install); console.log("[setupStorage] user not logged in: set up whole database"); } } diff --git a/pages/about.html b/pages/about.html index e709de0..ec65c67 100644 --- a/pages/about.html +++ b/pages/about.html @@ -63,7 +63,7 @@

BežiApp

-
Version 1.0.11-beta
+
version 1.0.12.35-beta
diff --git a/sw.js b/sw.js index 9f9daea..ce05e11 100644 --- a/sw.js +++ b/sw.js @@ -1,5 +1,5 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-v1.0.12.28"; +const static_cache_name = "site-static-v1.0.12.35"; // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! const assets = [ -- cgit v1.2.3