Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Typo in example of util.deprecate() documentation #25559

Closed
danielrentz opened this issue Jun 22, 2015 · 4 comments
Closed

Typo in example of util.deprecate() documentation #25559

danielrentz opened this issue Jun 22, 2015 · 4 comments

Comments

@danielrentz
Copy link

Example at https://nodejs.org/api/util.html#util_util_deprecate_function_string reads

exports.puts = exports.deprecate(function() { ...

but should read

exports.puts = util.deprecate(function() { ...
@misterdjules
Copy link

@danielrentz Good catch 👍 Do you have some time to contribute a pull request to fix that?

@danielrentz
Copy link
Author

Never did that before. Will read the docs and try... :)

@danielrentz
Copy link
Author

If you are interested in contributing to Node.js, please first read the contribution guide.

gives a 404... :-(

@misterdjules misterdjules modified the milestones: 0.12.6, 0.12.7 Jul 6, 2015
jasnell pushed a commit to jasnell/node-joyent that referenced this issue Jul 6, 2015
Fix for nodejs#25559 (Typo in example of util.deprecate() documentation)
@jasnell
Copy link
Member

jasnell commented Jul 6, 2015

Have an open PR to land this. Closing this issue. Will land the PR shortly.

@jasnell jasnell closed this as completed Jul 6, 2015
jasnell pushed a commit that referenced this issue Jul 10, 2015
Fix for #25559 (Typo in example of util.deprecate() documentation)

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #25635
jasnell pushed a commit to jasnell/node-joyent that referenced this issue Jul 10, 2015
Fix for nodejs#25559 (Typo in example of util.deprecate() documentation)

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#25635
jasnell pushed a commit that referenced this issue Aug 4, 2015
Fix for #25559 (Typo in example of util.deprecate() documentation)

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #25591
jBarz pushed a commit to ibmruntimes/node that referenced this issue Nov 4, 2016
Fix for nodejs#25559 (Typo in example of util.deprecate() documentation)

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#25591
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants