From 96736cf1de4fd1f449cd0fb1b92925947554c67a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 28 Apr 2014 08:29:43 -0700 Subject: [PATCH] Tweak `_.max`, `_.min`, and trim helper comments. [ci skip] --- lodash.js | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lodash.js b/lodash.js index 826147306..daafb927d 100644 --- a/lodash.js +++ b/lodash.js @@ -304,8 +304,8 @@ } /** - * Used by `_.max` and `_.min` as the default callback when a given - * collection is a string value. + * Used by `_.max` and `_.min` as the default callback when a given collection + * is a string value. * * @private * @param {string} string The string to inspect. @@ -316,7 +316,8 @@ } /** - * Gets the index of the first character of `string` that is not found in `chars`. + * Used by `_.trim` and `_.trimLeft` to get the index of the first character + * of `string` that is not found in `chars`. * * @private * @param {string} string The string to inspect. @@ -336,7 +337,8 @@ } /** - * Gets the index of the last character of `string` that is not found in `chars`. + * Used by `_.trim` and `_.trimRight` to get the index of the last character + * of `string` that is not found in `chars`. * * @private * @param {string} string The string to inspect. @@ -467,7 +469,8 @@ } /** - * Gets the index of the first non-whitespace character of `string`. + * Used by `_.trim` and `_.trimLeft` to get the index of the first non-whitespace + * character of `string`. * * @private * @param {string} string The string to inspect. @@ -488,7 +491,8 @@ } /** - * Gets the index of the last non-whitespace character of `string`. + * Used by `_.trim` and `_.trimRight` to get the index of the last non-whitespace + * character of `string`. * * @private * @param {string} string The string to inspect.