Browse Source

Pull request #2340: wuJIRA任务 worker模式

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '75bbb0818ae1b4b25450d534d5f1936a0fcfa98e':
  worker模式
es6
guy 3 years ago
parent
commit
152457bd22
  1. 18
      dist/fix/fix.compact.js

18
dist/fix/fix.compact.js vendored

@ -99,22 +99,12 @@
}
}
// _.each(["populate", "addItems", "prependItems"], function (name) {
// var old = BI.Loader.prototype[name];
// BI.Loader.prototype[name] = function () {
// BI.Widget.pushContext(this);
// try {
// var result = old.apply(this, arguments);
// } catch (e) {
// console.error(e);
// }
// BI.Widget.popContext();
// return result;
// };
// });
function createStore () {
var needPop = false;
var workerMode = BI.Providers.getProvider("bi.provider.system").getWorkerMode();
if (workerMode && this._worker) {
return;
}
if (this._store) {
var store = findStore(this.options.context || this._parent || this.options.element || this._context);
if (store) {

Loading…
Cancel
Save