correct docs

This commit is contained in:
Jeff Williams 2013-03-20 08:17:27 -07:00
parent 05656a01df
commit a0abba623b

View File

@ -39,9 +39,9 @@ function unescapeBraces(text) {
* To replace untagged text that is enclosed in braces, set the `tag` parameter to `null`.
*
* @param {string} string - The string in which to replace the inline tag.
* @param {string?} tag - The inline tag that must follow the opening brace (for example, `@link`).
* @param {module:jsdoc/tag/inline.InlineTagReplacer} The function that is used to replace text in
* the string.
* @param {?string} tag - The inline tag that must follow the opening brace (for example, `@link`).
* @param {module:jsdoc/tag/inline.InlineTagReplacer} replacer - The function that is used to
* replace text in the string.
* @return {module:jsdoc/tag/inline.InlineTagInfo} The updated string, as well as information about
* the inline tag.
*/
@ -104,7 +104,7 @@ exports.replaceInlineTag = function(string, tag, replacer) {
* To extract untagged text that is enclosed in braces, omit the `tag` parameter.
*
* @param {string} string - The string from which to extract text.
* @param {string?} tag - The inline tag that must follow the opening brace (for example, `@link`).
* @param {?string} tag - The inline tag that must follow the opening brace (for example, `@link`).
* @return {module:jsdoc/tag/inline.InlineTagInfo} Information about the string and inline tag.
*/
exports.extractInlineTag = function(string, tag) {