|
|
@ -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<string, string>} styleRuleMap The Styling rules/values |
|
|
|
*/ |
|
|
|