From 5c9ed7bb234b3430a5d122e54792f19c7170091f Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 22 Oct 2024 11:38:59 +0200 Subject: [PATCH] DOC,LICENCE: Added licence comment into every file --- src/alignment.js | 7 +++++++ src/arrangement.js | 7 +++++++ src/baseComponents.js | 7 +++++++ src/builder.js | 7 +++++++ src/color.js | 7 +++++++ src/commonEvents.js | 7 +++++++ src/component.js | 8 ++++++++ src/context.js | 7 +++++++ src/modifier.js | 14 +++++++++++++- src/sizeSide/border.js | 11 ++++++++++- src/sizeSide/dimensions.js | 7 +++++++ src/sizeSide/shapes.js | 10 ++++++++++ src/sizeSide/siding.js | 10 ++++++++++ 13 files changed, 107 insertions(+), 2 deletions(-) diff --git a/src/alignment.js b/src/alignment.js index 83d2276..2b952da 100644 --- a/src/alignment.js +++ b/src/alignment.js @@ -1,3 +1,10 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + /** * Enum providing common alignment rules */ diff --git a/src/arrangement.js b/src/arrangement.js index e57d96d..e6cc418 100644 --- a/src/arrangement.js +++ b/src/arrangement.js @@ -1,3 +1,10 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + /** * Enum providing common alignment rules */ diff --git a/src/baseComponents.js b/src/baseComponents.js index 0cb9aa2..00ddb0d 100644 --- a/src/baseComponents.js +++ b/src/baseComponents.js @@ -1,3 +1,10 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + /** * Represents container Components. * Some predefined modifications are applied on the child components. diff --git a/src/builder.js b/src/builder.js index d201007..4fa6286 100644 --- a/src/builder.js +++ b/src/builder.js @@ -1,3 +1,10 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + /** * Method Collection with predefined HTMLElements */ diff --git a/src/color.js b/src/color.js index 3e0487d..4591630 100644 --- a/src/color.js +++ b/src/color.js @@ -1,3 +1,10 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + /** * A simple Color class for rgb set color values. */ diff --git a/src/commonEvents.js b/src/commonEvents.js index 8cedfe0..8dff1e8 100644 --- a/src/commonEvents.js +++ b/src/commonEvents.js @@ -1,3 +1,10 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + /** * Enum to access common events */ diff --git a/src/component.js b/src/component.js index 2b63263..bf63aaf 100644 --- a/src/component.js +++ b/src/component.js @@ -1,3 +1,11 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + + /** * A chainable HTMLElement builder. */ diff --git a/src/context.js b/src/context.js index cff6868..c781211 100644 --- a/src/context.js +++ b/src/context.js @@ -1,3 +1,10 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + /** * The class provides overreaching options for building the website. */ diff --git a/src/modifier.js b/src/modifier.js index 2e0e0b7..23230ae 100644 --- a/src/modifier.js +++ b/src/modifier.js @@ -1,7 +1,19 @@ /** - * A chained class that sets most of the stylings of an element. + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + +/** + * A chained class that sets most of the stylings of an element + * Attributes: + * _modifications: {Object} */ class Modifier { + /** + * @property {Object} _modifications + */ _modifications; constructor() { diff --git a/src/sizeSide/border.js b/src/sizeSide/border.js index 336d0e0..f25d6aa 100644 --- a/src/sizeSide/border.js +++ b/src/sizeSide/border.js @@ -1,4 +1,13 @@ - +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + +/** + * + */ const LineStyles = Object.freeze({ dotted: "dotted", dashed: "dashed", diff --git a/src/sizeSide/dimensions.js b/src/sizeSide/dimensions.js index ae42005..c73ed5d 100644 --- a/src/sizeSide/dimensions.js +++ b/src/sizeSide/dimensions.js @@ -1,3 +1,10 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + /** * Simple Dimensions container for the height and width in pixels. */ diff --git a/src/sizeSide/shapes.js b/src/sizeSide/shapes.js index 7ab1077..8718ead 100644 --- a/src/sizeSide/shapes.js +++ b/src/sizeSide/shapes.js @@ -1,3 +1,13 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + +/** + * + */ class Shape extends DirectionUnitDependentAttribute { constructor(defaultValue = 0, defaultUnit = SizeUnits.PIXEL) { super(defaultValue, defaultUnit); diff --git a/src/sizeSide/siding.js b/src/sizeSide/siding.js index f2a6a8b..d71bcbf 100644 --- a/src/sizeSide/siding.js +++ b/src/sizeSide/siding.js @@ -1,3 +1,13 @@ +/** + * This file is part of the jps-like-websites lib + * URL: https://git.labos.goip.de/chris/jpc-like-websites + * COPYRIGHT and LICENCE are owned by its creator Christian Martin + * Copy, altering or distribution without the allowance of the owner are prohibited + */ + +/** + * + */ const SizeUnits = Object.freeze({ PIXEL: "px", PERCENT: "%"