mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Bump to v3.1.0.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
var baseClone = require('./baseClone'),
|
||||
baseIsMatch = require('./baseIsMatch'),
|
||||
var baseIsMatch = require('./baseIsMatch'),
|
||||
isStrictComparable = require('./isStrictComparable'),
|
||||
keys = require('../object/keys');
|
||||
|
||||
@@ -15,10 +14,9 @@ var hasOwnProperty = objectProto.hasOwnProperty;
|
||||
*
|
||||
* @private
|
||||
* @param {Object} source The object of property values to match.
|
||||
* @param {boolean} [isCloned] Specify cloning the source object.
|
||||
* @returns {Function} Returns the new function.
|
||||
*/
|
||||
function baseMatches(source, isCloned) {
|
||||
function baseMatches(source) {
|
||||
var props = keys(source),
|
||||
length = props.length;
|
||||
|
||||
@@ -32,9 +30,6 @@ function baseMatches(source, isCloned) {
|
||||
};
|
||||
}
|
||||
}
|
||||
if (isCloned) {
|
||||
source = baseClone(source, true);
|
||||
}
|
||||
var values = Array(length),
|
||||
strictCompareFlags = Array(length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user