From 423c4335664e565f9a9d0545ee9e7bc3a71873e9 Mon Sep 17 00:00:00 2001 From: Daniel Rentz Date: Thu, 25 Jun 2015 21:43:56 +0200 Subject: Update util.markdown Fix for https://github.com/joyent/node/issues/25559 (Typo in example of util.deprecate() documentation) Reviewed-By: James M Snell PR-URL: https://github.com/joyent/node/pull/25635 --- doc/api/util.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/util.markdown b/doc/api/util.markdown index cc639ddb4..376596340 100644 --- a/doc/api/util.markdown +++ b/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'); } -- cgit v1.2.1