guy 7 years ago
parent
commit
ca20052b4c
  1. 19
      dist/bundle.js
  2. 4
      dist/bundle.min.js
  3. 19
      dist/core.js
  4. 29
      dist/fineui.js
  5. 34
      dist/fineui.min.js
  6. 15
      dist/fix/fix.compact.js
  7. 19
      src/core/widget.js

19
dist/bundle.js vendored

@ -12509,21 +12509,20 @@ BI.Widget = BI.inherit(BI.OB, {
this._initElementHeight();
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));
this.beforeInit(BI.bind(this._render, this));
} else {
func.call(this);
this._render();
}
},
_render: function(){
this.beforeCreate && this.beforeCreate();
this._initElement();
this._initEffects();
this.created && this.created();
},
/**
* 初始化根节点
* @private

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

19
dist/core.js vendored

@ -12509,21 +12509,20 @@ BI.Widget = BI.inherit(BI.OB, {
this._initElementHeight();
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));
this.beforeInit(BI.bind(this._render, this));
} else {
func.call(this);
this._render();
}
},
_render: function(){
this.beforeCreate && this.beforeCreate();
this._initElement();
this._initEffects();
this.created && this.created();
},
/**
* 初始化根节点
* @private

29
dist/fineui.js vendored

@ -12682,21 +12682,20 @@ BI.Widget = BI.inherit(BI.OB, {
this._initElementHeight();
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));
this.beforeInit(BI.bind(this._render, this));
} else {
func.call(this);
this._render();
}
},
_render: function(){
this.beforeCreate && this.beforeCreate();
this._initElement();
this._initEffects();
this.created && this.created();
},
/**
* 初始化根节点
* @private
@ -27484,6 +27483,7 @@ Data.Source = BISource = {
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);
@ -27500,13 +27500,20 @@ Data.Source = BISource = {
} else {
this.model = this.store;
}
initWatch(this, this.watch);
needPop = true;
}
_init.apply(this, arguments);
needPop && popTarget();
};
var _init = BI.Widget.prototype._render;
BI.Widget.prototype._render = function () {
if (window.Fix && this._store) {
initWatch(this, this.watch);
}
_render.apply(this, arguments);
};
var unMount = BI.Widget.prototype.__d;
BI.Widget.prototype.__d = function () {
unMount.apply(this, arguments);

34
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

15
dist/fix/fix.compact.js vendored

@ -81,19 +81,20 @@
} else {
this.model = this.store;
}
if (this.beforeInit) {
this.on(BI.Events.INIT, function () {
initWatch(self, self.watch);
});
} else {
initWatch(this, this.watch);
}
needPop = true;
}
_init.apply(this, arguments);
needPop && popTarget();
};
var _init = BI.Widget.prototype._render;
BI.Widget.prototype._render = function () {
if (window.Fix && this._store) {
initWatch(this, this.watch);
}
_render.apply(this, arguments);
};
var unMount = BI.Widget.prototype.__d;
BI.Widget.prototype.__d = function () {
unMount.apply(this, arguments);

19
src/core/widget.js

@ -52,21 +52,20 @@ BI.Widget = BI.inherit(BI.OB, {
this._initElementHeight();
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));
this.beforeInit(BI.bind(this._render, this));
} else {
func.call(this);
this._render();
}
},
_render: function(){
this.beforeCreate && this.beforeCreate();
this._initElement();
this._initEffects();
this.created && this.created();
},
/**
* 初始化根节点
* @private

Loading…
Cancel
Save