From cacae31af343be51897b8c7703e45a2bbcddc5f2 Mon Sep 17 00:00:00 2001 From: Benjamin Tan Date: Sun, 17 Jan 2016 20:36:02 +0800 Subject: [PATCH] Minor documentation fixes for `stringSize`, `_.cond`, `_.intersection`, and `_.reverse`. [ci skip] --- lodash.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lodash.js b/lodash.js index 4f3d046b2..2c026490c 100644 --- a/lodash.js +++ b/lodash.js @@ -1168,6 +1168,7 @@ /** * Gets the number of symbols in `string`. * + * @private * @param {string} string The string to inspect. * @returns {number} Returns the string size. */ @@ -5858,6 +5859,7 @@ * @param {...Array} [arrays] The arrays to inspect. * @returns {Array} Returns the new array of shared values. * @example + * * _.intersection([2, 1], [4, 2], [1, 2]); * // => [2] */ @@ -6174,6 +6176,7 @@ * **Note:** This method mutates `array` and is based on * [`Array#reverse`](https://mdn.io/Array/reverse). * + * @static * @memberOf _ * @category Array * @returns {Array} Returns `array`. @@ -12857,7 +12860,7 @@ * [_.matches({ 'a': 1 }), _.constant('matches A')], * [_.conforms({ 'b': _.isNumber }), _.constant('matches B')], * [_.constant(true), _.constant('no match')] - * ]) + * ]); * * func({ 'a': 1, 'b': 2 }); * // => 'matches A'