Fix _.matches and _.matchesProperty doc notes on inherited properties. [ci skip] [closes #1344]

This commit is contained in:
John-David Dalton
2015-07-15 08:05:55 -07:00
parent 192e35882a
commit 33a9ebaba1

View File

@@ -10601,8 +10601,8 @@
* *
* **Note:** This method supports comparing arrays, booleans, `Date` objects, * **Note:** This method supports comparing arrays, booleans, `Date` objects,
* numbers, `Object` objects, regexes, and strings. Objects are compared by * numbers, `Object` objects, regexes, and strings. Objects are compared by
* their own, not inherited, enumerable properties. For comparing a single * their own and inherited enumerable properties. For comparing a single
* own or inherited property value see `_.matchesProperty`. * value see `_.matchesProperty`.
* *
* @static * @static
* @memberOf _ * @memberOf _
@@ -10625,11 +10625,10 @@
/** /**
* Creates a function that compares the property value of `path` on a given * Creates a function that compares the property value of `path` on a given
* object to `value`. * object to `srcValue`.
* *
* **Note:** This method supports comparing arrays, booleans, `Date` objects, * **Note:** This method supports comparing arrays, booleans, `Date` objects,
* numbers, `Object` objects, regexes, and strings. Objects are compared by * numbers, `Object` objects, regexes, and strings.
* their own, not inherited, enumerable properties.
* *
* @static * @static
* @memberOf _ * @memberOf _