Browse Source

update

master
guy 7 years ago
parent
commit
77a541ae8a
  1. 9
      dist/bundle.js
  2. 46
      dist/bundle.min.js
  3. 9
      dist/core.js
  4. 9
      dist/fineui.js
  5. 78
      dist/fineui.min.js
  6. 9
      src/core/widget.js

9
dist/bundle.js vendored

@ -12480,6 +12480,8 @@ BI.Widget = BI.inherit(BI.OB, {
});
},
beforeInit: null,
// 生命周期函数
beforeCreate: null,
@ -12502,6 +12504,7 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () {
BI.Widget.superclass._init.apply(this, arguments);
var func = function () {
this.beforeCreate && this.beforeCreate();
this._initRoot();
this._initElementWidth();
@ -12511,6 +12514,12 @@ BI.Widget = BI.inherit(BI.OB, {
this._initElement();
this._initEffects();
this.created && this.created();
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));
} else {
func.call(this);
}
},
/**

46
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/core.js vendored

@ -12480,6 +12480,8 @@ BI.Widget = BI.inherit(BI.OB, {
});
},
beforeInit: null,
// 生命周期函数
beforeCreate: null,
@ -12502,6 +12504,7 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () {
BI.Widget.superclass._init.apply(this, arguments);
var func = function () {
this.beforeCreate && this.beforeCreate();
this._initRoot();
this._initElementWidth();
@ -12511,6 +12514,12 @@ BI.Widget = BI.inherit(BI.OB, {
this._initElement();
this._initEffects();
this.created && this.created();
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));
} else {
func.call(this);
}
},
/**

9
dist/fineui.js vendored

@ -12653,6 +12653,8 @@ BI.Widget = BI.inherit(BI.OB, {
});
},
beforeInit: null,
// 生命周期函数
beforeCreate: null,
@ -12675,6 +12677,7 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () {
BI.Widget.superclass._init.apply(this, arguments);
var func = function () {
this.beforeCreate && this.beforeCreate();
this._initRoot();
this._initElementWidth();
@ -12684,6 +12687,12 @@ BI.Widget = BI.inherit(BI.OB, {
this._initElement();
this._initEffects();
this.created && this.created();
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));
} else {
func.call(this);
}
},
/**

78
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

9
src/core/widget.js

@ -23,6 +23,8 @@ BI.Widget = BI.inherit(BI.OB, {
});
},
beforeInit: null,
// 生命周期函数
beforeCreate: null,
@ -45,6 +47,7 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () {
BI.Widget.superclass._init.apply(this, arguments);
var func = function () {
this.beforeCreate && this.beforeCreate();
this._initRoot();
this._initElementWidth();
@ -54,6 +57,12 @@ BI.Widget = BI.inherit(BI.OB, {
this._initElement();
this._initEffects();
this.created && this.created();
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));
} else {
func.call(this);
}
},
/**

Loading…
Cancel
Save