From be9e3e1c4f875d648f988ad13efd769db214f1ea Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Fri, 18 Aug 2023 21:30:44 -0700 Subject: [PATCH] small typo fix in JS --- llab/loader.js | 2 +- llab/script/library.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llab/loader.js b/llab/loader.js index 1e292242e3..ef2d836375 100755 --- a/llab/loader.js +++ b/llab/loader.js @@ -4,7 +4,7 @@ */ const THIS_FILE = 'loader.js'; -const RELEASE_DATE = '2023-08-18'; +const RELEASE_DATE = '2023-08-19'; // Basic llab shape. llab = { diff --git a/llab/script/library.js b/llab/script/library.js index c83fdb10a8..24fdb3a541 100644 --- a/llab/script/library.js +++ b/llab/script/library.js @@ -137,7 +137,7 @@ llab.t = llab.translate; llab.pageLangugeExtension = () => llab.pageLang() == 'en' ? '' : `.${llab.pageLang()}`; // Turn img.es.png into img.png -llab.stripLangExtensions = (text) => text.replace(new Regexp(`\.${llab.pageLang()}\.`, 'g'), '.'); +llab.stripLangExtensions = (text) => text.replace(new RegExp(`\.${llab.pageLang()}\.`, 'g'), '.'); /////// CONDITIONAL LOADING OF CONTENT /**