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

40
dist/bundle.js vendored

@ -21399,20 +21399,14 @@ _.extend(BI.OB.prototype, {
this._initElementHeight();
this._initVisual();
this._initState();
if (this.isVisible()) {
this.rendered = true;
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
} else {
this._render();
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
}
if (this._isRoot) {
this._mount();
} else {
this._render();
}
},
@ -21525,7 +21519,7 @@ _.extend(BI.OB.prototype, {
_mount: function () {
var self = this;
var isMounted = this._isMounted;
if (this._isMounting || isMounted || !this.isVisible() || this.__asking === true) {
if (isMounted || this.__asking === true) {
return;
}
if (this._isRoot === true) {
@ -21536,19 +21530,6 @@ _.extend(BI.OB.prototype, {
if (!isMounted) {
return;
}
this._isMounting = true;
if (!this.rendered) {
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
} else {
this._render();
}
}
this.beforeMount && this.beforeMount();
this._isMounted = true;
!lazy && this._mountChildren && this._mountChildren();
@ -21559,7 +21540,6 @@ _.extend(BI.OB.prototype, {
});
lazy && this._mountChildren && this._mountChildren();
this.mounted && this.mounted();
this._isMounting = false;
return true;
},
@ -81382,9 +81362,8 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
function createStore() {
var needPop = false;
if (!this._storeCreated && window.Fix && this._store && this.isVisible()) {
if (window.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
this._storeCreated = true;
if (store) {
pushTarget(store);
needPop = true;
@ -81446,7 +81425,6 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
_.each(["_mount"], function (name) {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
createStore.call(this);
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
this.store && popTarget();

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

36
dist/core.js vendored

@ -21399,20 +21399,14 @@ _.extend(BI.OB.prototype, {
this._initElementHeight();
this._initVisual();
this._initState();
if (this.isVisible()) {
this.rendered = true;
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
} else {
this._render();
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
}
if (this._isRoot) {
this._mount();
} else {
this._render();
}
},
@ -21525,7 +21519,7 @@ _.extend(BI.OB.prototype, {
_mount: function () {
var self = this;
var isMounted = this._isMounted;
if (this._isMounting || isMounted || !this.isVisible() || this.__asking === true) {
if (isMounted || this.__asking === true) {
return;
}
if (this._isRoot === true) {
@ -21536,19 +21530,6 @@ _.extend(BI.OB.prototype, {
if (!isMounted) {
return;
}
this._isMounting = true;
if (!this.rendered) {
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
} else {
this._render();
}
}
this.beforeMount && this.beforeMount();
this._isMounted = true;
!lazy && this._mountChildren && this._mountChildren();
@ -21559,7 +21540,6 @@ _.extend(BI.OB.prototype, {
});
lazy && this._mountChildren && this._mountChildren();
this.mounted && this.mounted();
this._isMounting = false;
return true;
},

40
dist/fineui.js vendored

@ -21620,20 +21620,14 @@ _.extend(BI.OB.prototype, {
this._initElementHeight();
this._initVisual();
this._initState();
if (this.isVisible()) {
this.rendered = true;
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
} else {
this._render();
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
}
if (this._isRoot) {
this._mount();
} else {
this._render();
}
},
@ -21746,7 +21740,7 @@ _.extend(BI.OB.prototype, {
_mount: function () {
var self = this;
var isMounted = this._isMounted;
if (this._isMounting || isMounted || !this.isVisible() || this.__asking === true) {
if (isMounted || this.__asking === true) {
return;
}
if (this._isRoot === true) {
@ -21757,19 +21751,6 @@ _.extend(BI.OB.prototype, {
if (!isMounted) {
return;
}
this._isMounting = true;
if (!this.rendered) {
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
} else {
this._render();
}
}
this.beforeMount && this.beforeMount();
this._isMounted = true;
!lazy && this._mountChildren && this._mountChildren();
@ -21780,7 +21761,6 @@ _.extend(BI.OB.prototype, {
});
lazy && this._mountChildren && this._mountChildren();
this.mounted && this.mounted();
this._isMounting = false;
return true;
},
@ -81603,9 +81583,8 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
function createStore() {
var needPop = false;
if (!this._storeCreated && window.Fix && this._store && this.isVisible()) {
if (window.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
this._storeCreated = true;
if (store) {
pushTarget(store);
needPop = true;
@ -81667,7 +81646,6 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
_.each(["_mount"], function (name) {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
createStore.call(this);
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
this.store && popTarget();

6
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/fix/fix.compact.js vendored

@ -108,9 +108,8 @@
function createStore() {
var needPop = false;
if (!this._storeCreated && window.Fix && this._store && this.isVisible()) {
if (window.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
this._storeCreated = true;
if (store) {
pushTarget(store);
needPop = true;
@ -172,7 +171,6 @@
_.each(["_mount"], function (name) {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
createStore.call(this);
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
this.store && popTarget();

36
src/core/widget.js

@ -60,20 +60,14 @@
this._initElementHeight();
this._initVisual();
this._initState();
if (this.isVisible()) {
this.rendered = true;
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
} else {
this._render();
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
}
if (this._isRoot) {
this._mount();
} else {
this._render();
}
},
@ -186,7 +180,7 @@
_mount: function () {
var self = this;
var isMounted = this._isMounted;
if (this._isMounting || isMounted || !this.isVisible() || this.__asking === true) {
if (isMounted || this.__asking === true) {
return;
}
if (this._isRoot === true) {
@ -197,19 +191,6 @@
if (!isMounted) {
return;
}
this._isMounting = true;
if (!this.rendered) {
if (this.beforeInit) {
this.__asking = true;
this.beforeInit(BI.bind(this._render, this));
if (this.__asking === true) {
this.__async = true;
}
} else {
this._render();
}
}
this.beforeMount && this.beforeMount();
this._isMounted = true;
!lazy && this._mountChildren && this._mountChildren();
@ -220,7 +201,6 @@
});
lazy && this._mountChildren && this._mountChildren();
this.mounted && this.mounted();
this._isMounting = false;
return true;
},

Loading…
Cancel
Save