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