Browse Source

Pull request #1343: KERNEL-4182 增加对Map的兼容,IE同步主线修改

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

* commit '955ae187743e32263a2b81dde3880feaeaf0a91b':
  IE8 兼容问题
  增加对Map的兼容
es6
windy 4 years ago
parent
commit
04caef3260
  1. 11
      dist/fix/fix.compact.ie.js
  2. 1
      webpack/webpack.common.js

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

@ -13,10 +13,15 @@
}
}
function createWatcher(vm, keyOrFn, handler) {
return Fix.watch(vm.store, keyOrFn, _.bind(handler, vm), {
function createWatcher(vm, keyOrFn, cb, options) {
if (BI.isPlainObject(cb)) {
options = cb;
cb = cb.handler;
}
options = options || {};
return Fix.watch(vm.model, keyOrFn, _.bind(cb, vm), BI.extend(options, {
store: vm.store
});
}));
}
var target = null;

1
webpack/webpack.common.js

@ -19,6 +19,7 @@ module.exports = {
"core-js/features/function/bind",
"core-js/features/promise",
"core-js/features/string/replace",
"core-js/es/map",
// "core-js",
]
: [

Loading…
Cancel
Save