Bump to v4.0.1.

This commit is contained in:
John-David Dalton
2016-01-24 18:14:43 -08:00
parent 54e7baecc3
commit 7af5d55f22
65 changed files with 210 additions and 160 deletions

View File

@@ -20,9 +20,9 @@ import basePickBy from './internal/basePickBy';
* // => { '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);
});
}