From: Cyperghost Date: Fri, 16 Feb 2024 11:05:35 +0000 (+0100) Subject: Move copyright to top of the file X-Git-Tag: 6.1.0_Alpha_1~47^2~113 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eac73a22895f0ca8b889b7f96890e2bde8de61bf;p=GitHub%2FWoltLab%2FWCF.git Move copyright to top of the file --- diff --git a/ts/WoltLabSuite/Core/Notification/ServiceWorker.ts b/ts/WoltLabSuite/Core/Notification/ServiceWorker.ts index bb404e4514..bfae391f4a 100644 --- a/ts/WoltLabSuite/Core/Notification/ServiceWorker.ts +++ b/ts/WoltLabSuite/Core/Notification/ServiceWorker.ts @@ -1,11 +1,12 @@ -import { prepareRequest } from "WoltLabSuite/Core/Ajax/Backend"; - /** * @author Olaf Braun * @copyright 2001-2024 WoltLab GmbH * @license GNU Lesser General Public License * @woltlabExcludeBundle tiny */ + +import { prepareRequest } from "WoltLabSuite/Core/Ajax/Backend"; + let _serviceWorker: ServiceWorker | null = null; class ServiceWorker { diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Notification/ServiceWorker.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Notification/ServiceWorker.js index ecc74cbfd0..c82cebd4ec 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Notification/ServiceWorker.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Notification/ServiceWorker.js @@ -1,13 +1,13 @@ +/** + * @author Olaf Braun + * @copyright 2001-2024 WoltLab GmbH + * @license GNU Lesser General Public License + * @woltlabExcludeBundle tiny + */ define(["require", "exports", "WoltLabSuite/Core/Ajax/Backend"], function (require, exports, Backend_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.registerServiceWorker = exports.init = void 0; - /** - * @author Olaf Braun - * @copyright 2001-2024 WoltLab GmbH - * @license GNU Lesser General Public License - * @woltlabExcludeBundle tiny - */ let _serviceWorker = null; class ServiceWorker { publicKey;