From 34e993a85431c8a84c5ce7071281c7e198fceade Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 18 Aug 2025 10:24:19 +0200 Subject: [license] client/simple: SPDX-License-Identifier: AGPL-3.0-or-later SPDX short-form identifiers to communicate license information in a simple, efficient, portable and machine-readable manner [1] [1] https://spdx.dev/learn/handling-license-info/ --- client/simple/src/js/core/index.ts | 6 +----- client/simple/src/js/core/listener.ts | 2 ++ client/simple/src/js/core/router.ts | 2 ++ client/simple/src/js/core/toolkit.ts | 2 ++ 4 files changed, 7 insertions(+), 5 deletions(-) (limited to 'client/simple/src/js/core') 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 -- cgit v1.2.3