|
@ -32,7 +32,7 @@ class CompelGenerator { |
|
|
processStyles(component, extStore = null) { |
|
|
processStyles(component, extStore = null) { |
|
|
extStore = (extStore |
|
|
extStore = (extStore |
|
|
? extStore |
|
|
? extStore |
|
|
: this._stylesExtStore |
|
|
: component._stylesExtStore |
|
|
) |
|
|
) |
|
|
.setupForGeneralStyling(); |
|
|
.setupForGeneralStyling(); |
|
|
|
|
|
|
|
@ -119,10 +119,10 @@ class CompelGenerator { |
|
|
|
|
|
|
|
|
if (child instanceof HTMLElement) { |
|
|
if (child instanceof HTMLElement) { |
|
|
console.log("No wenity set - htmlEl was given"); |
|
|
console.log("No wenity set - htmlEl was given"); |
|
|
childWT.html = component; |
|
|
childWT.compext = component; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
parent.append(childWT.html); |
|
|
parent.append(childWT.compext); |
|
|
|
|
|
|
|
|
return childWT; |
|
|
return childWT; |
|
|
} |
|
|
} |
|
@ -222,9 +222,9 @@ class CompelGenerator { |
|
|
let funcCollections = this.processFunctions(functionStore); |
|
|
let funcCollections = this.processFunctions(functionStore); |
|
|
|
|
|
|
|
|
for (const child of childrenWenities) { |
|
|
for (const child of childrenWenities) { |
|
|
if (child.js) { |
|
|
if (child.scripts) { |
|
|
executeOnExtStoreTypeCollectedTriple( |
|
|
executeOnExtStoreTypeCollectedTriple( |
|
|
(extstoretype) => transferCollectedFunctions(child.js, funcCollections, extstoretype) |
|
|
(extstoretype) => transferCollectedFunctions(child.scripts, funcCollections, extstoretype) |
|
|
); |
|
|
); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|