Browse Source

Update util.markdown

Fix for https://github.com/joyent/node/issues/25559 (Typo in example of util.deprecate() documentation)

Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: https://github.com/joyent/node/pull/25591
v0.12-staging
Daniel Rentz 10 years ago
committed by James M Snell
parent
commit
5ad05af380
  1. 2
      doc/api/util.markdown

2
doc/api/util.markdown

@ -261,7 +261,7 @@ through the `constructor.super_` property.
Marks that a method should not be used any more.
exports.puts = exports.deprecate(function() {
exports.puts = util.deprecate(function() {
for (var i = 0, len = arguments.length; i < len; ++i) {
process.stdout.write(arguments[i] + '\n');
}

Loading…
Cancel
Save