Bump to v4.0.1.

This commit is contained in:
John-David Dalton
2016-01-13 00:57:48 -08:00
parent 0646bacd86
commit d8d0500f37
74 changed files with 4476 additions and 510 deletions

View File

@@ -20,9 +20,9 @@ var baseIteratee = require('./internal/baseIteratee'),
* // => { 'b': '2' }
*/
function omitBy(object, predicate) {
predicate = baseIteratee(predicate);
return basePickBy(object, function(value) {
return !predicate(value);
predicate = baseIteratee(predicate, 2);
return basePickBy(object, function(value, key) {
return !predicate(value, key);
});
}