Use "strict" mode in JS scripts
This commit is contained in:
parent
12d3f107c1
commit
1e204ddb3b
6 changed files with 15 additions and 5 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue