Added "use strict"; to all the JavaScript files.
This commit is contained in:
parent
41c3e06ce4
commit
b19f4fa939
@ -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", () => {
|
||||||
|
@ -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", () => {
|
||||||
|
@ -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", () => {
|
||||||
|
@ -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", () => {
|
||||||
|
@ -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.
|
||||||
|
@ -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", () => {
|
||||||
|
@ -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", () => {
|
||||||
|
@ -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", () => {
|
||||||
|
@ -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", () => {
|
||||||
|
@ -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", () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user