[common] refactoring for components

This commit is contained in:
Maxim Kadushkin
2019-07-29 14:24:20 +03:00
parent 5ed01e6555
commit 4725e80119
21 changed files with 68 additions and 79 deletions

View File

@ -335,10 +335,10 @@ define([
this.setElement(parentEl, false);
parentEl.html(this.cmpEl);
} else {
$(this.el).html(this.cmpEl);
this.$el.html(this.cmpEl);
}
} else {
this.cmpEl = $(this.el);
this.cmpEl = this.$el;
}
me.rendered = true;