From 338f34d16884f9540385479bb8c0638bc2f98320 Mon Sep 17 00:00:00 2001 From: Young Date: Fri, 19 Jan 2018 20:29:36 +0800 Subject: [PATCH] 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;