From eca487c2fe328cf96256b1f05d2a6eb1a0693684 Mon Sep 17 00:00:00 2001 From: chris Date: Mon, 28 Apr 2025 17:15:52 +0200 Subject: [PATCH] CHORE,REFA: removed copyright disclaimer from 'every' file Either the copyright disclaimer will be added through build/generate or a default licence file in the repo should be enough. Overachieving licence security is a waste of creative energy. --- generate_single_file.js | 7 +++++++ src/alignment.js | 6 +----- src/arrangement.js | 6 +----- src/baseComponents.js | 6 +----- src/builder.js | 6 +----- src/color.js | 6 +----- src/commonEvents.js | 6 +----- src/component.js | 6 +----- src/componentAncestry/addStyleAndFunctions.js | 6 +----- src/componentAncestry/modifiableComponent.js | 6 +----- src/componentAncestry/wrapperComponent.js | 6 +----- src/context.js | 6 +----- src/context/extStore.js | 6 +----- src/context/framework-controls.js | 6 +----- src/context/generalHelpers.js | 6 +----- src/context/scriptAndStyleContext.js | 6 +----- src/context/webTrinity.js | 6 +----- src/modifications/contextMenu.js | 6 +----- src/modifications/dragAndDrop.js | 6 +----- src/modifier.js | 6 +----- src/sizeSide/border.js | 6 +----- src/sizeSide/dimensions.js | 6 +----- src/sizeSide/shapes.js | 6 +----- src/sizeSide/siding.js | 5 ----- 24 files changed, 29 insertions(+), 115 deletions(-) diff --git a/generate_single_file.js b/generate_single_file.js index 83aea23..4d609ba 100644 --- a/generate_single_file.js +++ b/generate_single_file.js @@ -37,6 +37,13 @@ class OAO { } } +const copyright_disclaimer = `/* + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * @copyright by its creator Christian Martin + */ +`; + let fileOrder = Object.assign(new OAO(), require('./fileOrder.json')); fileOrder.objects = fileOrder.keys diff --git a/src/alignment.js b/src/alignment.js index 8a9cf41..72895ba 100644 --- a/src/alignment.js +++ b/src/alignment.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Enum providing common alignment rules diff --git a/src/arrangement.js b/src/arrangement.js index 1625b3b..f7f970e 100644 --- a/src/arrangement.js +++ b/src/arrangement.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Enum providing common alignment rules diff --git a/src/baseComponents.js b/src/baseComponents.js index da45091..0946030 100644 --- a/src/baseComponents.js +++ b/src/baseComponents.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Represents a Component (of an HTMLElement) that is capable of receiving input. diff --git a/src/builder.js b/src/builder.js index 384509f..ac8cec0 100644 --- a/src/builder.js +++ b/src/builder.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Method Collection with predefined HTMLElements diff --git a/src/color.js b/src/color.js index 47f29ea..e18d34d 100644 --- a/src/color.js +++ b/src/color.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * A simple Color class for rgb set color values. diff --git a/src/commonEvents.js b/src/commonEvents.js index 388ccd4..32514cf 100644 --- a/src/commonEvents.js +++ b/src/commonEvents.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Enum to access common events diff --git a/src/component.js b/src/component.js index 29cfecc..f78e642 100644 --- a/src/component.js +++ b/src/component.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** diff --git a/src/componentAncestry/addStyleAndFunctions.js b/src/componentAncestry/addStyleAndFunctions.js index fc3c138..499a389 100644 --- a/src/componentAncestry/addStyleAndFunctions.js +++ b/src/componentAncestry/addStyleAndFunctions.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * @inheritdoc diff --git a/src/componentAncestry/modifiableComponent.js b/src/componentAncestry/modifiableComponent.js index ce17cba..a4e658d 100644 --- a/src/componentAncestry/modifiableComponent.js +++ b/src/componentAncestry/modifiableComponent.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** diff --git a/src/componentAncestry/wrapperComponent.js b/src/componentAncestry/wrapperComponent.js index 0ac954c..9d32e8e 100644 --- a/src/componentAncestry/wrapperComponent.js +++ b/src/componentAncestry/wrapperComponent.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Represents the most basic and simple form of a Component. diff --git a/src/context.js b/src/context.js index 54aaa31..2d4ff23 100644 --- a/src/context.js +++ b/src/context.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** diff --git a/src/context/extStore.js b/src/context/extStore.js index 3f1eec9..757a5e9 100644 --- a/src/context/extStore.js +++ b/src/context/extStore.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * ESAggregation := Extensions Storage Aggregation (method) diff --git a/src/context/framework-controls.js b/src/context/framework-controls.js index 30b566d..4e1b7c0 100644 --- a/src/context/framework-controls.js +++ b/src/context/framework-controls.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * diff --git a/src/context/generalHelpers.js b/src/context/generalHelpers.js index 754fa6b..a27a650 100644 --- a/src/context/generalHelpers.js +++ b/src/context/generalHelpers.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * diff --git a/src/context/scriptAndStyleContext.js b/src/context/scriptAndStyleContext.js index 80b6839..d92d6fa 100644 --- a/src/context/scriptAndStyleContext.js +++ b/src/context/scriptAndStyleContext.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * @abstract diff --git a/src/context/webTrinity.js b/src/context/webTrinity.js index 6074322..f938bf9 100644 --- a/src/context/webTrinity.js +++ b/src/context/webTrinity.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Wenity := Web Trinity diff --git a/src/modifications/contextMenu.js b/src/modifications/contextMenu.js index c648337..1925021 100644 --- a/src/modifications/contextMenu.js +++ b/src/modifications/contextMenu.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Default implementation of a contextmenu-behaviour diff --git a/src/modifications/dragAndDrop.js b/src/modifications/dragAndDrop.js index 759e024..84fa903 100644 --- a/src/modifications/dragAndDrop.js +++ b/src/modifications/dragAndDrop.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + const EventDrag = Object.freeze({ OVER: "over", diff --git a/src/modifier.js b/src/modifier.js index f938536..d5c2285 100644 --- a/src/modifier.js +++ b/src/modifier.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * A chained class that sets most of the stylings of an element diff --git a/src/sizeSide/border.js b/src/sizeSide/border.js index eabe9b7..b3fc042 100644 --- a/src/sizeSide/border.js +++ b/src/sizeSide/border.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * diff --git a/src/sizeSide/dimensions.js b/src/sizeSide/dimensions.js index b9afe2a..86a10de 100644 --- a/src/sizeSide/dimensions.js +++ b/src/sizeSide/dimensions.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * Simple Dimensions container for the height and width in pixels. diff --git a/src/sizeSide/shapes.js b/src/sizeSide/shapes.js index 462d454..595c8ff 100644 --- a/src/sizeSide/shapes.js +++ b/src/sizeSide/shapes.js @@ -1,8 +1,4 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ + /** * @extends DirectionUnitDependentAttribute diff --git a/src/sizeSide/siding.js b/src/sizeSide/siding.js index cdda244..3a83b2e 100644 --- a/src/sizeSide/siding.js +++ b/src/sizeSide/siding.js @@ -1,8 +1,3 @@ -/** - * This file is part of the jps-like-websites lib - * URL: https://git.labos.goip.de/chris/jpc-like-websites - * @copyright by its creator Christian Martin - */ /** * Enum providing predefined set of Size-Units