1
Fork 0

Use "strict" mode in JS scripts

This commit is contained in:
Guillaume Gomez 2022-05-02 14:32:56 +02:00
parent 12d3f107c1
commit 1e204ddb3b
6 changed files with 15 additions and 5 deletions

View file

@ -3,6 +3,8 @@
/* eslint prefer-const: "error" */
/* eslint prefer-arrow-callback: "error" */
"use strict";
const darkThemes = ["dark", "ayu"];
window.currentTheme = document.getElementById("themeStyle");
window.mainTheme = document.getElementById("mainThemeStyle");