node.fs.cat("/etc/passwd", "utf8").addCallback(function (content) { +node.fs.cat("/etc/passwd").addCallback(function (content) { puts(content); });
diff --git a/doc/api.html b/doc/api.html index 4641471a3f..be20f95dfa 100644 --- a/doc/api.html +++ b/doc/api.html @@ -874,7 +874,7 @@ on error: no parameters.
@@ -882,7 +882,7 @@ Outputs the entire contents of a file. Example:
node.fs.cat("/etc/passwd", "utf8").addCallback(function (content) { +node.fs.cat("/etc/passwd").addCallback(function (content) { puts(content); });