summaryrefslogtreecommitdiff
path: root/client/simple/src/js/core
diff options
context:
space:
mode:
Diffstat (limited to 'client/simple/src/js/core')
-rw-r--r--client/simple/src/js/core/index.ts6
-rw-r--r--client/simple/src/js/core/listener.ts2
-rw-r--r--client/simple/src/js/core/router.ts2
-rw-r--r--client/simple/src/js/core/toolkit.ts2
4 files changed, 7 insertions, 5 deletions
diff --git a/client/simple/src/js/core/index.ts b/client/simple/src/js/core/index.ts
index a4021beb9..48d166f7d 100644
--- a/client/simple/src/js/core/index.ts
+++ b/client/simple/src/js/core/index.ts
@@ -1,8 +1,4 @@
-/**
- * @preserve (C) Copyright Contributors to the SearXNG project.
- * @preserve (C) Copyright Contributors to the searx project (2014 - 2021).
- * @license AGPL-3.0-or-later
- */
+// SPDX-License-Identifier: AGPL-3.0-or-later
import "./router.ts";
import "./toolkit.ts";
diff --git a/client/simple/src/js/core/listener.ts b/client/simple/src/js/core/listener.ts
index fb41cfa88..b8c0cbfd5 100644
--- a/client/simple/src/js/core/listener.ts
+++ b/client/simple/src/js/core/listener.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
import { listen } from "./toolkit.ts";
listen("click", ".close", function (this: HTMLElement) {
diff --git a/client/simple/src/js/core/router.ts b/client/simple/src/js/core/router.ts
index 05c49ed07..04b31f0d2 100644
--- a/client/simple/src/js/core/router.ts
+++ b/client/simple/src/js/core/router.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
import { Endpoints, endpoint, ready, settings } from "./toolkit.ts";
ready(
diff --git a/client/simple/src/js/core/toolkit.ts b/client/simple/src/js/core/toolkit.ts
index 0e95eed14..d80167aa5 100644
--- a/client/simple/src/js/core/toolkit.ts
+++ b/client/simple/src/js/core/toolkit.ts
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: AGPL-3.0-or-later
+
import type { KeyBindingLayout } from "../main/keyboard.ts";
// synced with searx/webapp.py get_client_settings