From 9415f5bc6f516eaa1f4cab6fe0b349606ba14ecf Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 19 Jan 2018 20:33:06 +0800 Subject: [PATCH 1/2] update --- dist/bundle.js | 3 ++- dist/core.js | 3 ++- dist/fineui.js | 3 ++- src/core/widget.js | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 5f0b98826..6621e5918 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -12521,6 +12521,7 @@ BI.Widget = BI.inherit(BI.OB, { this._initElement(); this._initEffects(); this.created && this.created(); + this._children = {}; }, /** @@ -12531,7 +12532,6 @@ BI.Widget = BI.inherit(BI.OB, { var o = this.options; this.widgetName = o.widgetName || BI.uniqueId("widget"); this._isRoot = o.root; - this._children = {}; if (BI.isWidget(o.element)) { if (o.element instanceof BI.Widget) { this._parent = o.element; @@ -12559,6 +12559,7 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } + this._children = {}; }, _initElementWidth: function () { diff --git a/dist/core.js b/dist/core.js index 68e14c3fe..d0db9af61 100644 --- a/dist/core.js +++ b/dist/core.js @@ -12521,6 +12521,7 @@ BI.Widget = BI.inherit(BI.OB, { this._initElement(); this._initEffects(); this.created && this.created(); + this._children = {}; }, /** @@ -12531,7 +12532,6 @@ BI.Widget = BI.inherit(BI.OB, { var o = this.options; this.widgetName = o.widgetName || BI.uniqueId("widget"); this._isRoot = o.root; - this._children = {}; if (BI.isWidget(o.element)) { if (o.element instanceof BI.Widget) { this._parent = o.element; @@ -12559,6 +12559,7 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } + this._children = {}; }, _initElementWidth: function () { diff --git a/dist/fineui.js b/dist/fineui.js index 5840876c5..d44f964d0 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -12694,6 +12694,7 @@ BI.Widget = BI.inherit(BI.OB, { this._initElement(); this._initEffects(); this.created && this.created(); + this._children = {}; }, /** @@ -12704,7 +12705,6 @@ BI.Widget = BI.inherit(BI.OB, { var o = this.options; this.widgetName = o.widgetName || BI.uniqueId("widget"); this._isRoot = o.root; - this._children = {}; if (BI.isWidget(o.element)) { if (o.element instanceof BI.Widget) { this._parent = o.element; @@ -12732,6 +12732,7 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } + this._children = {}; }, _initElementWidth: function () { diff --git a/src/core/widget.js b/src/core/widget.js index b4f99b19c..1592b796c 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -64,6 +64,7 @@ BI.Widget = BI.inherit(BI.OB, { this._initElement(); this._initEffects(); this.created && this.created(); + this._children = {}; }, /** @@ -74,7 +75,6 @@ BI.Widget = BI.inherit(BI.OB, { var o = this.options; this.widgetName = o.widgetName || BI.uniqueId("widget"); this._isRoot = o.root; - this._children = {}; if (BI.isWidget(o.element)) { if (o.element instanceof BI.Widget) { this._parent = o.element; From 5bf3e23eb5ff1bfc3917ccea04a3362b053889a8 Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 19 Jan 2018 20:33:47 +0800 Subject: [PATCH 2/2] update --- dist/bundle.js | 1 - dist/core.js | 1 - dist/fineui.js | 1 - 3 files changed, 3 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 6621e5918..f79c57c6b 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -12559,7 +12559,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () { diff --git a/dist/core.js b/dist/core.js index d0db9af61..e8cb62129 100644 --- a/dist/core.js +++ b/dist/core.js @@ -12559,7 +12559,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () { diff --git a/dist/fineui.js b/dist/fineui.js index d44f964d0..20b68d1d6 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -12732,7 +12732,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () {