Bump to v4.6.0.

This commit is contained in:
John-David Dalton
2016-02-29 23:48:22 -08:00
parent 7eeb5ebd61
commit ddf9328c67
70 changed files with 973 additions and 650 deletions

View File

@@ -1,10 +1,10 @@
var baseIteratee = require('./_baseIteratee'),
basePullAllBy = require('./_basePullAllBy');
basePullAll = require('./_basePullAll');
/**
* This method is like `_.pullAll` except that it accepts `iteratee` which is
* invoked for each element of `array` and `values` to generate the criterion
* by which uniqueness is computed. The iteratee is invoked with one argument: (value).
* by which they're compared. The iteratee is invoked with one argument: (value).
*
* **Note:** Unlike `_.differenceBy`, this method mutates `array`.
*
@@ -25,7 +25,7 @@ var baseIteratee = require('./_baseIteratee'),
*/
function pullAllBy(array, values, iteratee) {
return (array && array.length && values && values.length)
? basePullAllBy(array, values, baseIteratee(iteratee))
? basePullAll(array, values, baseIteratee(iteratee))
: array;
}