From 75c1dd723d353bfd5cba35a686f911c54760b88c Mon Sep 17 00:00:00 2001 From: rstular Date: Sun, 17 May 2020 19:40:46 +0200 Subject: Regex fix --- assets/js/gsec.js | 2 +- dist/js/gsec.js | 2 +- dist/pages/about.html | 2 +- dist/sw.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/js/gsec.js b/assets/js/gsec.js index 1016e7c..2a05ea6 100644 --- a/assets/js/gsec.js +++ b/assets/js/gsec.js @@ -249,7 +249,7 @@ class gsec { fetchGradings() { - const DESC_REGEX = /\((.+?)\)/; + const DESC_REGEX = /\((.+?)\)/m; const SUBJECT_REGEX = /^(.+?) \(/m; return new Promise((resolve) => { diff --git a/dist/js/gsec.js b/dist/js/gsec.js index 1016e7c..2a05ea6 100644 --- a/dist/js/gsec.js +++ b/dist/js/gsec.js @@ -249,7 +249,7 @@ class gsec { fetchGradings() { - const DESC_REGEX = /\((.+?)\)/; + const DESC_REGEX = /\((.+?)\)/m; const SUBJECT_REGEX = /^(.+?) \(/m; return new Promise((resolve) => { diff --git a/dist/pages/about.html b/dist/pages/about.html index 4600c20..e0bb68d 100644 --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -143,7 +143,7 @@

- ^HEAD de95a6b78788da7472850dad13ed9b7de9e5b9b1 + ^HEAD 61f0a67abdd293a17232bd5784b08709a3cd7856

diff --git a/dist/sw.js b/dist/sw.js index 0ad0bf4..3eaea7d 100644 --- a/dist/sw.js +++ b/dist/sw.js @@ -3,8 +3,8 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.13-beta-de95a6b"; -// latest commit is de95a6b78788da7472850dad13ed9b7de9e5b9b1 +const static_cache_name = "site-static-1.0.13-beta-61f0a67"; +// latest commit is 61f0a67abdd293a17232bd5784b08709a3cd7856 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3