Bump to v3.6.0.

This commit is contained in:
jdalton
2015-03-24 16:44:49 -07:00
parent 06f6ffa303
commit d58549ce0b
192 changed files with 2218 additions and 1804 deletions

View File

@@ -1,5 +1,6 @@
var baseIsEqual = require('./baseIsEqual'),
isStrictComparable = require('./isStrictComparable');
isStrictComparable = require('./isStrictComparable'),
toObject = require('./toObject');
/**
* The base implementation of `_.matchesProperty` which does not coerce `key`
@@ -13,7 +14,8 @@ var baseIsEqual = require('./baseIsEqual'),
function baseMatchesProperty(key, value) {
if (isStrictComparable(value)) {
return function(object) {
return object != null && object[key] === value;
return object != null && object[key] === value &&
(typeof value != 'undefined' || (key in toObject(object)));
};
}
return function(object) {