Added "use strict"; to all the JavaScript files.

This commit is contained in:
依瑪貓 2023-03-08 14:08:40 +08:00
parent 41c3e06ce4
commit b19f4fa939
10 changed files with 10 additions and 0 deletions

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/1 * First written: 2023/2/1
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/2 * First written: 2023/2/2
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/28 * First written: 2023/2/28
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/6 * First written: 2023/2/6
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/3 * First written: 2023/2/3
*/ */
"use strict";
/** /**
* Initializes the drag-and-drop reordering on a list. * Initializes the drag-and-drop reordering on a list.

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/25 * First written: 2023/2/25
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/3/4 * First written: 2023/3/4
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/28 * First written: 2023/2/28
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/25 * First written: 2023/2/25
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {

View File

@ -20,6 +20,7 @@
/* Author: imacat@mail.imacat.idv.tw (imacat) /* Author: imacat@mail.imacat.idv.tw (imacat)
* First written: 2023/2/26 * First written: 2023/2/26
*/ */
"use strict";
// Initializes the page JavaScript. // Initializes the page JavaScript.
document.addEventListener("DOMContentLoaded", () => { document.addEventListener("DOMContentLoaded", () => {