mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Rebuild docs and dist.
This commit is contained in:
14
dist/lodash.compat.js
vendored
14
dist/lodash.compat.js
vendored
@@ -692,7 +692,7 @@
|
||||
* `curry`, `debounce`, `defaults`, `defer`, `delay`, `difference`, `filter`,
|
||||
* `flatten`, `forEach`, `forEachRight`, `forIn`, `forInRight`, `forOwn`,
|
||||
* `forOwnRight`, `functions`, `groupBy`, `indexBy`, `initial`, `intersection`,
|
||||
* `invert`, `invoke`, `keys`, `map`, `mapValues`, `match`, `max`, `memoize`,
|
||||
* `invert`, `invoke`, `keys`, `map`, `mapValues`, `matches`, `max`, `memoize`,
|
||||
* `merge`, `min`, `noop`, `object`, `omit`, `once`, `pairs`, `partial`,
|
||||
* `partialRight`, `pick`, `pluck`, `property`, `pull`, `push`, `range`,
|
||||
* `reject`, `remove`, `rest`, `reverse`, `shuffle`, `slice`, `sort`, `sortBy`,
|
||||
@@ -6999,7 +6999,7 @@
|
||||
func || baseCreateCallback(func, thisArg, argCount);
|
||||
}
|
||||
// handle "_.pluck" and "_.where" style callback shorthands
|
||||
return type != 'object' ? property(func) : match(func);
|
||||
return type != 'object' ? property(func) : matches(func);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -7037,15 +7037,15 @@
|
||||
* { 'name': 'barney', 'age': 36 }
|
||||
* ];
|
||||
*
|
||||
* var matchAge = _.match({ 'age': 36 });
|
||||
* var matchesAge = _.matches({ 'age': 36 });
|
||||
*
|
||||
* _.filter(characters, matchAge);
|
||||
* _.filter(characters, matchesAge);
|
||||
* // => [{ 'name': 'barney', 'age': 36 }]
|
||||
*
|
||||
* _.find(characters, matchAge);
|
||||
* _.find(characters, matchesAge);
|
||||
* // => { 'name': 'barney', 'age': 36 }
|
||||
*/
|
||||
function match(source) {
|
||||
function matches(source) {
|
||||
source || (source = {});
|
||||
|
||||
var props = keys(source),
|
||||
@@ -7459,7 +7459,7 @@
|
||||
lodash.keys = keys;
|
||||
lodash.map = map;
|
||||
lodash.mapValues = mapValues;
|
||||
lodash.match = match;
|
||||
lodash.matches = matches;
|
||||
lodash.max = max;
|
||||
lodash.memoize = memoize;
|
||||
lodash.merge = merge;
|
||||
|
||||
Reference in New Issue
Block a user