guy 7 years ago
parent
commit
b96dcabd21
  1. 2
      dist/bundle.js
  2. 4
      dist/bundle.min.js
  3. 2
      dist/core.js
  4. 2
      dist/fineui.js
  5. 2
      dist/fineui.min.js
  6. 9
      dist/fix/fix.compact.js
  7. 2
      src/core/widget.js

2
dist/bundle.js vendored

@ -12510,10 +12510,12 @@ BI.Widget = BI.inherit(BI.OB, {
this._initVisual();
this._initState();
var func = function () {
this.fireEvent(BI.Events.INIT);
this.beforeCreate && this.beforeCreate();
this._initElement();
this._initEffects();
this.created && this.created();
this.fireEvent(BI.Events.AFTERINIT);
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/core.js vendored

@ -12510,10 +12510,12 @@ BI.Widget = BI.inherit(BI.OB, {
this._initVisual();
this._initState();
var func = function () {
this.fireEvent(BI.Events.INIT);
this.beforeCreate && this.beforeCreate();
this._initElement();
this._initEffects();
this.created && this.created();
this.fireEvent(BI.Events.AFTERINIT);
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));

2
dist/fineui.js vendored

@ -12683,10 +12683,12 @@ BI.Widget = BI.inherit(BI.OB, {
this._initVisual();
this._initState();
var func = function () {
this.fireEvent(BI.Events.INIT);
this.beforeCreate && this.beforeCreate();
this._initElement();
this._initEffects();
this.created && this.created();
this.fireEvent(BI.Events.AFTERINIT);
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/fix/fix.compact.js vendored

@ -64,6 +64,7 @@
var _init = BI.Widget.prototype._init;
BI.Widget.prototype._init = function () {
var self = this;
var needPop = false;
if (window.Fix && this._store) {
var store = findStore(this.options.element);
@ -80,7 +81,13 @@
} else {
this.model = this.store;
}
initWatch(this, this.watch);
if (this.beforeInit) {
this.on(BI.Events.INIT, function () {
initWatch(self, self.watch);
});
} else {
initWatch(this, this.watch);
}
needPop = true;
}
_init.apply(this, arguments);

2
src/core/widget.js

@ -53,10 +53,12 @@ BI.Widget = BI.inherit(BI.OB, {
this._initVisual();
this._initState();
var func = function () {
this.fireEvent(BI.Events.INIT);
this.beforeCreate && this.beforeCreate();
this._initElement();
this._initEffects();
this.created && this.created();
this.fireEvent(BI.Events.AFTERINIT);
};
if (this.beforeInit) {
this.beforeInit(BI.bind(func, this));

Loading…
Cancel
Save