Browse Source

REFA, IMPRO: removing the property "_wenity"

The property didn't introduced any additional functionality.
dev-feat-component_preview
chris 2 months ago
parent
commit
b53ffc3571
  1. 17
      src/component.js

17
src/component.js

@ -15,10 +15,6 @@ class Component extends StyleAndScriptStoringComponent {
* @type {boolean}
*/
_isCompel;
/**
* @type {WebTrinity}
*/
_wenity;
/**
* @type {Array<any>}
*/
@ -425,7 +421,7 @@ class Component extends StyleAndScriptStoringComponent {
.join(this._modifier);
}
this._wenity = new WebTrinity();
let _wenity = new WebTrinity();
if (!styleStore) {
styleStore = this._stylesExtStore;
@ -543,18 +539,17 @@ class Component extends StyleAndScriptStoringComponent {
executeOnExtStoreTypeCollectedTriple((est) => dealCollected(funcCollections, est));
} else {
this._wenity.js = funcCollections;
this._wenity.css = styleCollection;
_wenity.js = funcCollections;
_wenity.css = styleCollection;
}
this._wenity.html = this._element;
_wenity.html = this._element;
for (let i = 0; i < this._toRegister.length; i++) {
const group = this._toRegister[i];
for (const group of this._toRegister) {
Page.subscribeComponentToGroup(group, this._compName)
}
return this._wenity;
return _wenity;
}

Loading…
Cancel
Save