Skip to content

Commit

Permalink
small typo fix in JS
Browse files Browse the repository at this point in the history
  • Loading branch information
cycomachead committed Aug 19, 2023
1 parent d786ca4 commit be9e3e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llab/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion llab/script/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
/**
Expand Down

0 comments on commit be9e3e1

Please sign in to comment.