Move copyright to top of the file
authorCyperghost <olaf_schmitz_1@t-online.de>
Fri, 16 Feb 2024 11:05:35 +0000 (12:05 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Fri, 23 Feb 2024 13:40:08 +0000 (14:40 +0100)
ts/WoltLabSuite/Core/Notification/ServiceWorker.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Notification/ServiceWorker.js

index bb404e4514e69c53a7a9a5b8444eeb5b3036a9c8..bfae391f4a114033c09ed6b4642c01f721647549 100644 (file)
@@ -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 <http://opensource.org/licenses/lgpl-license.php>
  * @woltlabExcludeBundle tiny
  */
+
+import { prepareRequest } from "WoltLabSuite/Core/Ajax/Backend";
+
 let _serviceWorker: ServiceWorker | null = null;
 
 class ServiceWorker {
index ecc74cbfd0db2021aa790f62ecc45018f73e7a6a..c82cebd4ec2a68d849d00fa2ff5d9928b3fbf96c 100644 (file)
@@ -1,13 +1,13 @@
+/**
+ * @author      Olaf Braun
+ * @copyright   2001-2024 WoltLab GmbH
+ * @license     GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
+ * @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 <http://opensource.org/licenses/lgpl-license.php>
-     * @woltlabExcludeBundle tiny
-     */
     let _serviceWorker = null;
     class ServiceWorker {
         publicKey;