Bump to v3.1.0.

This commit is contained in:
jdalton
2015-02-01 22:09:14 -08:00
parent 891d0482c6
commit d5f4043617
21 changed files with 74 additions and 37 deletions

View File

@@ -1,4 +1,3 @@
import baseClone from './baseClone';
import baseIsMatch from './baseIsMatch';
import isStrictComparable from './isStrictComparable';
import keys from '../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);