mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 04:17:49 +00:00
Bump to v3.1.0.
This commit is contained in:
committed by
John-David Dalton
parent
3b2df88eab
commit
1608d89174
@@ -1,4 +1,4 @@
|
||||
define(['../internal/baseMatches'], function(baseMatches) {
|
||||
define(['../internal/baseClone', '../internal/baseMatches'], function(baseClone, baseMatches) {
|
||||
|
||||
/**
|
||||
* Creates a function which performs a deep comparison between a given object
|
||||
@@ -26,7 +26,7 @@ define(['../internal/baseMatches'], function(baseMatches) {
|
||||
* // => { 'user': 'barney', 'age': 36 }
|
||||
*/
|
||||
function matches(source) {
|
||||
return baseMatches(source, true);
|
||||
return baseMatches(baseClone(source, true));
|
||||
}
|
||||
|
||||
return matches;
|
||||
|
||||
Reference in New Issue
Block a user