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,
* numbers, `Object` objects, regexes, and strings. Objects are compared by
* their own, not inherited, enumerable properties. For comparing a single
* own or inherited property value see `_.matchesProperty`.
* their own and inherited enumerable properties. For comparing a single
* value see `_.matchesProperty`.
*
* @static
* @memberOf _
@@ -10625,11 +10625,10 @@
/**
* 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,
* numbers, `Object` objects, regexes, and strings. Objects are compared by
* their own, not inherited, enumerable properties.
* numbers, `Object` objects, regexes, and strings.
*
* @static
* @memberOf _