From c1a72092e16bdde2fd716ea85b5c9ac165a5f9c5 Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 19 Jan 2018 20:25:21 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=5Fchildren=E6=8F=90=E5=87=BA=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/bundle.js | 2 +- dist/core.js | 2 +- dist/fineui.js | 2 +- src/core/widget.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 9c8c8ab55..2426b7bf0 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -12517,6 +12517,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12558,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 d538f6451..a70bcd09f 100644 --- a/dist/core.js +++ b/dist/core.js @@ -12517,6 +12517,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12558,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 31ff82107..7bde1f0d5 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -12690,6 +12690,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12731,7 +12732,6 @@ 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 35a489e9a..4e49504be 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -60,6 +60,7 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -101,7 +102,6 @@ BI.Widget = BI.inherit(BI.OB, { if (o.data) { this.element.data(o.data); } - this._children = {}; }, _initElementWidth: function () { From 338f34d16884f9540385479bb8c0638bc2f98320 Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 19 Jan 2018 20:29:36 +0800 Subject: [PATCH 2/5] update --- dist/bundle.js | 2 +- dist/core.js | 2 +- dist/fineui.js | 2 +- src/core/widget.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 2426b7bf0..5f0b98826 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -12517,7 +12517,6 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ - this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12532,6 +12531,7 @@ 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; diff --git a/dist/core.js b/dist/core.js index a70bcd09f..68e14c3fe 100644 --- a/dist/core.js +++ b/dist/core.js @@ -12517,7 +12517,6 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ - this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12532,6 +12531,7 @@ 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; diff --git a/dist/fineui.js b/dist/fineui.js index 7bde1f0d5..5840876c5 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -12690,7 +12690,6 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ - this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -12705,6 +12704,7 @@ 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; diff --git a/src/core/widget.js b/src/core/widget.js index 4e49504be..b4f99b19c 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -60,7 +60,6 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ - this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); @@ -75,6 +74,7 @@ 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 9415f5bc6f516eaa1f4cab6fe0b349606ba14ecf Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 19 Jan 2018 20:33:06 +0800 Subject: [PATCH 3/5] 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 4/5] 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 () { From 327969836d21dc028e82bf619a09ef774babd7d5 Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 19 Jan 2018 20:38:49 +0800 Subject: [PATCH 5/5] update --- dist/bundle.js | 2 +- dist/core.js | 2 +- dist/fineui.js | 2 +- src/core/widget.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index f79c57c6b..2426b7bf0 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -12517,11 +12517,11 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); this.created && this.created(); - this._children = {}; }, /** diff --git a/dist/core.js b/dist/core.js index e8cb62129..a70bcd09f 100644 --- a/dist/core.js +++ b/dist/core.js @@ -12517,11 +12517,11 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); this.created && this.created(); - this._children = {}; }, /** diff --git a/dist/fineui.js b/dist/fineui.js index 20b68d1d6..7bde1f0d5 100644 --- a/dist/fineui.js +++ b/dist/fineui.js @@ -12690,11 +12690,11 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); this.created && this.created(); - this._children = {}; }, /** diff --git a/src/core/widget.js b/src/core/widget.js index 1592b796c..4e49504be 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -60,11 +60,11 @@ BI.Widget = BI.inherit(BI.OB, { }, _render: function(){ + this._children = {}; this.beforeCreate && this.beforeCreate(); this._initElement(); this._initEffects(); this.created && this.created(); - this._children = {}; }, /**