Browse Source

Merge pull request #1049 in VISUAL/fineui from ~DAILER/fineui:master to master

* commit '9d7b0f08c3ca939361c89ef223d2cfea5507ab4d':
  DEC-8536 fix: ie.compact 也更新一下
  build
  DEC-8536  fix : 修复 _mount执行中断导致context指向错误问题.
master
guy 5 years ago
parent
commit
a115c6e4e1
  1. 9
      dist/2.0/fineui.ie.js
  2. 6
      dist/2.0/fineui.ie.min.js
  3. 25
      dist/2.0/fineui.js
  4. 6
      dist/2.0/fineui.min.js
  5. 9
      dist/bundle.ie.js
  6. 6
      dist/bundle.ie.min.js
  7. 25
      dist/bundle.js
  8. 6
      dist/bundle.min.js
  9. 6
      dist/fineui.ie.js
  10. 4
      dist/fineui.ie.min.js
  11. 22
      dist/fineui.js
  12. 4
      dist/fineui.min.js
  13. 22
      dist/fineui_without_jquery_polyfill.js
  14. 6
      dist/fix/fix.compact.ie.js
  15. 22
      dist/fix/fix.compact.js
  16. 2
      dist/utils.min.js

9
dist/2.0/fineui.ie.js vendored

@ -88614,7 +88614,11 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});
@ -88741,7 +88745,8 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
}
}
BI.watch = Fix.watch;
}());(function () {
}());
(function () {
var Events = {
// Bind an event to a `callback` function. Passing `"all"` will bind

6
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/2.0/fineui.js vendored

@ -88828,7 +88828,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
});
BI.ValueChooserPane.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
function initWatch(vm, watch) {
function initWatch (vm, watch) {
vm._watchers || (vm._watchers = []);
for (var key in watch) {
var handler = watch[key];
@ -88842,7 +88842,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
}
}
function createWatcher(vm, keyOrFn, handler) {
function createWatcher (vm, keyOrFn, handler) {
return Fix.watch(vm.model, keyOrFn, _.bind(handler, vm), {
store: vm.store
});
@ -88851,24 +88851,24 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
var target = null;
var targetStack = [];
function pushTarget(_target) {
function pushTarget (_target) {
if (target) targetStack.push(target);
Fix.Model.target = target = _target;
}
function popTarget() {
function popTarget () {
Fix.Model.target = target = targetStack.pop();
}
var context = null;
var contextStack = [];
function pushContext(_context) {
function pushContext (_context) {
if (context) contextStack.push(context);
Fix.Model.context = context = _context;
}
function popContext() {
function popContext () {
Fix.Model.context = context = contextStack.pop();
}
@ -88889,7 +88889,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
}, options);
};
function findStore(widget) {
function findStore (widget) {
if (target != null) {
return target;
}
@ -88935,7 +88935,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
};
});
function createStore() {
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
@ -89001,7 +89001,11 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});
@ -89075,7 +89079,8 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
};
}
BI.watch = Fix.watch;
}());(function () {
}());
(function () {
var Events = {
// Bind an event to a `callback` function. Passing `"all"` will bind

6
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

9
dist/bundle.ie.js vendored

@ -88614,7 +88614,11 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});
@ -88741,7 +88745,8 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
}
}
BI.watch = Fix.watch;
}());(function () {
}());
(function () {
var Events = {
// Bind an event to a `callback` function. Passing `"all"` will bind

6
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

25
dist/bundle.js vendored

@ -88828,7 +88828,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
});
BI.ValueChooserPane.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
function initWatch(vm, watch) {
function initWatch (vm, watch) {
vm._watchers || (vm._watchers = []);
for (var key in watch) {
var handler = watch[key];
@ -88842,7 +88842,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
}
}
function createWatcher(vm, keyOrFn, handler) {
function createWatcher (vm, keyOrFn, handler) {
return Fix.watch(vm.model, keyOrFn, _.bind(handler, vm), {
store: vm.store
});
@ -88851,24 +88851,24 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
var target = null;
var targetStack = [];
function pushTarget(_target) {
function pushTarget (_target) {
if (target) targetStack.push(target);
Fix.Model.target = target = _target;
}
function popTarget() {
function popTarget () {
Fix.Model.target = target = targetStack.pop();
}
var context = null;
var contextStack = [];
function pushContext(_context) {
function pushContext (_context) {
if (context) contextStack.push(context);
Fix.Model.context = context = _context;
}
function popContext() {
function popContext () {
Fix.Model.context = context = contextStack.pop();
}
@ -88889,7 +88889,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
}, options);
};
function findStore(widget) {
function findStore (widget) {
if (target != null) {
return target;
}
@ -88935,7 +88935,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
};
});
function createStore() {
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
@ -89001,7 +89001,11 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});
@ -89075,7 +89079,8 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
};
}
BI.watch = Fix.watch;
}());(function () {
}());
(function () {
var Events = {
// Bind an event to a `callback` function. Passing `"all"` will bind

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

6
dist/fineui.ie.js vendored

@ -89443,7 +89443,11 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);(function () {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

22
dist/fineui.js vendored

@ -89657,7 +89657,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);(function () {
// Create the default BI.history.
BI.history = new History;
}());;(function () {
function initWatch(vm, watch) {
function initWatch (vm, watch) {
vm._watchers || (vm._watchers = []);
for (var key in watch) {
var handler = watch[key];
@ -89671,7 +89671,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);(function () {
}
}
function createWatcher(vm, keyOrFn, handler) {
function createWatcher (vm, keyOrFn, handler) {
return Fix.watch(vm.model, keyOrFn, _.bind(handler, vm), {
store: vm.store
});
@ -89680,24 +89680,24 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);(function () {
var target = null;
var targetStack = [];
function pushTarget(_target) {
function pushTarget (_target) {
if (target) targetStack.push(target);
Fix.Model.target = target = _target;
}
function popTarget() {
function popTarget () {
Fix.Model.target = target = targetStack.pop();
}
var context = null;
var contextStack = [];
function pushContext(_context) {
function pushContext (_context) {
if (context) contextStack.push(context);
Fix.Model.context = context = _context;
}
function popContext() {
function popContext () {
Fix.Model.context = context = contextStack.pop();
}
@ -89718,7 +89718,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);(function () {
}, options);
};
function findStore(widget) {
function findStore (widget) {
if (target != null) {
return target;
}
@ -89764,7 +89764,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);(function () {
};
});
function createStore() {
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
@ -89830,7 +89830,11 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);(function () {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

22
dist/fineui_without_jquery_polyfill.js vendored

@ -71679,7 +71679,7 @@ BI.ValueChooserPane = BI.inherit(BI.AbstractValueChooser, {
});
BI.ValueChooserPane.EVENT_CHANGE = "EVENT_CHANGE";
BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
function initWatch(vm, watch) {
function initWatch (vm, watch) {
vm._watchers || (vm._watchers = []);
for (var key in watch) {
var handler = watch[key];
@ -71693,7 +71693,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
}
}
function createWatcher(vm, keyOrFn, handler) {
function createWatcher (vm, keyOrFn, handler) {
return Fix.watch(vm.model, keyOrFn, _.bind(handler, vm), {
store: vm.store
});
@ -71702,24 +71702,24 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
var target = null;
var targetStack = [];
function pushTarget(_target) {
function pushTarget (_target) {
if (target) targetStack.push(target);
Fix.Model.target = target = _target;
}
function popTarget() {
function popTarget () {
Fix.Model.target = target = targetStack.pop();
}
var context = null;
var contextStack = [];
function pushContext(_context) {
function pushContext (_context) {
if (context) contextStack.push(context);
Fix.Model.context = context = _context;
}
function popContext() {
function popContext () {
Fix.Model.context = context = contextStack.pop();
}
@ -71740,7 +71740,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
}, options);
};
function findStore(widget) {
function findStore (widget) {
if (target != null) {
return target;
}
@ -71786,7 +71786,7 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
};
});
function createStore() {
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
@ -71852,7 +71852,11 @@ BI.shortcut("bi.value_chooser_pane", BI.ValueChooserPane);;(function () {
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});

6
dist/fix/fix.compact.ie.js vendored

@ -189,7 +189,11 @@
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});

22
dist/fix/fix.compact.js vendored

@ -1,5 +1,5 @@
;(function () {
function initWatch(vm, watch) {
function initWatch (vm, watch) {
vm._watchers || (vm._watchers = []);
for (var key in watch) {
var handler = watch[key];
@ -13,7 +13,7 @@
}
}
function createWatcher(vm, keyOrFn, handler) {
function createWatcher (vm, keyOrFn, handler) {
return Fix.watch(vm.model, keyOrFn, _.bind(handler, vm), {
store: vm.store
});
@ -22,24 +22,24 @@
var target = null;
var targetStack = [];
function pushTarget(_target) {
function pushTarget (_target) {
if (target) targetStack.push(target);
Fix.Model.target = target = _target;
}
function popTarget() {
function popTarget () {
Fix.Model.target = target = targetStack.pop();
}
var context = null;
var contextStack = [];
function pushContext(_context) {
function pushContext (_context) {
if (context) contextStack.push(context);
Fix.Model.context = context = _context;
}
function popContext() {
function popContext () {
Fix.Model.context = context = contextStack.pop();
}
@ -60,7 +60,7 @@
}, options);
};
function findStore(widget) {
function findStore (widget) {
if (target != null) {
return target;
}
@ -106,7 +106,7 @@
};
});
function createStore() {
function createStore () {
var needPop = false;
if (_global.Fix && this._store) {
var store = findStore(this.options.context || this.options.element);
@ -172,7 +172,11 @@
var old = BI.Widget.prototype[name];
old && (BI.Widget.prototype[name] = function () {
this.store && pushTarget(this.store);
var res = old.apply(this, arguments);
try {
var res = old.apply(this, arguments);
} catch (e) {
console.error(e);
}
this.store && popTarget();
return res;
});

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save