Browse Source

Merging in latest from upstream (FUI/fineui:refs/heads/master)

* commit 'be4013545c9b7c86d4e146739a361c8a22a4077f':
  update
  update
es6
imp 7 years ago
parent
commit
6eab4f96c2
  1. 17
      dist/bundle.js
  2. 46
      dist/bundle.min.js
  3. 17
      dist/core.js
  4. 17
      dist/fineui.js
  5. 78
      dist/fineui.min.js
  6. 17
      src/core/widget.js

17
dist/bundle.js vendored

@ -12480,6 +12480,8 @@ BI.Widget = BI.inherit(BI.OB, {
});
},
beforeInit: null,
// 生命周期函数
beforeCreate: null,
@ -12502,15 +12504,22 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () {
BI.Widget.superclass._init.apply(this, arguments);
this.beforeCreate && this.beforeCreate();
this._initRoot();
this._initElementWidth();
this._initElementHeight();
this._initVisual();
this._initState();
this._initElement();
this._initEffects();
this.created && this.created();
var func = function () {
this.beforeCreate && this.beforeCreate();
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

17
dist/core.js vendored

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

17
dist/fineui.js vendored

@ -12653,6 +12653,8 @@ BI.Widget = BI.inherit(BI.OB, {
});
},
beforeInit: null,
// 生命周期函数
beforeCreate: null,
@ -12675,15 +12677,22 @@ BI.Widget = BI.inherit(BI.OB, {
_init: function () {
BI.Widget.superclass._init.apply(this, arguments);
this.beforeCreate && this.beforeCreate();
this._initRoot();
this._initElementWidth();
this._initElementHeight();
this._initVisual();
this._initState();
this._initElement();
this._initEffects();
this.created && this.created();
var func = function () {
this.beforeCreate && this.beforeCreate();
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

17
src/core/widget.js

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

Loading…
Cancel
Save