Browse Source

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

* commit '9eec36826ce6b1d9808d4dc3d3337b9366910d79':
  utils 方法ie8下context没了.
master
imp 7 years ago
parent
commit
646cd6cc77
  1. 4
      dist/fix/fix.compact.js

4
dist/fix/fix.compact.js vendored

@ -179,12 +179,12 @@
"keys", "allKeys", "values", "pairs", "invert",
"mapObject", "findKey", "pick", "omit", "tap"], function (name) {
var old = BI[name];
BI[name] = function (obj, fn) {
BI[name] = function (obj, fn, context) {
return typeof fn === "function" ? old(obj, function (key, value) {
if (!(key in Fix.$$skipArray)) {
return fn.apply(this, arguments);
}
}) : old.apply(this, arguments);
}, context) : old.apply(this, arguments);
};
});
BI.isEmpty = function (ob) {

Loading…
Cancel
Save