Update nuclear.js
This commit is contained in:
parent
d25b13c0d6
commit
ac2d447aba
|
@ -9,6 +9,9 @@
|
|||
|
||||
Nuclear._mixObj = function (obj) {
|
||||
obj.ctor = function (option, selector, increment) {
|
||||
if (this.install) {
|
||||
this.install();
|
||||
}
|
||||
this.pureOption = Nuclear.clone(option);
|
||||
this._nuclearTwoWay = true;
|
||||
this._nuclearDiffDom = true;
|
||||
|
@ -77,9 +80,7 @@ Nuclear._mixObj = function (obj) {
|
|||
this.parentNode = document.createElement("div");
|
||||
}
|
||||
}
|
||||
if (this.install) {
|
||||
this.install();
|
||||
}
|
||||
|
||||
this._nuclearRef = [];
|
||||
this._isNuclearComponent = true;
|
||||
for (var key in this) {
|
||||
|
@ -548,4 +549,4 @@ Nuclear.clone = function (item) {
|
|||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue