diff --git a/src/context.js b/src/context.js index 4b5fce3..583514c 100644 --- a/src/context.js +++ b/src/context.js @@ -131,6 +131,7 @@ class PageBuilder extends ScriptAndStyleContext { * Little helper function. * If a single page application is in development. * This method sets an autoreload interval for the page. + * Default is 20 (sec). * @param {number} relaunchSeconds timeinterval for page to reload (changes) */ inDev(relaunchSeconds = 20) { diff --git a/src/context/scriptAndStyleContext.js b/src/context/scriptAndStyleContext.js index c04b5c4..998e663 100644 --- a/src/context/scriptAndStyleContext.js +++ b/src/context/scriptAndStyleContext.js @@ -127,7 +127,7 @@ class ScriptAndStyleContext { underTheName.trim(), fun.name.trim(), this.getFunctionName() - ].find(e !== ''); + ].find(e => e !== ''); /* deal with name already present */ let functionNames = Object.keys(this.#functions); @@ -200,7 +200,10 @@ class ScriptAndStyleContext { /** * Adds the styling rules to the element identifiers into the style tag. - * An elementDefinition can only be used once, repeated use will be ignored. + * An element definition can only be used once, repeated use will be ignored. + * + * @todo implement extStore logic + * * @param {string} elementIdentifier The element identifier * @param {map} styleRuleMap The Styling rules/values */ diff --git a/src/sizeSide/siding.js b/src/sizeSide/siding.js index 566eebb..856235b 100644 --- a/src/sizeSide/siding.js +++ b/src/sizeSide/siding.js @@ -12,7 +12,9 @@ const SizeUnits = Object.freeze({ PERCENT: "%" }) - +/** + * + */ class DirectionUnitDependentAttribute { _unit; _fFirst; @@ -209,7 +211,9 @@ class Sides extends DirectionUnitDependentAttribute { } } - +/** + * + */ class PaddingChain extends Sides { _modifier; constructor(modifier) {