doc: remove an unused arg in process.stdin.

The argument of process.stdin's readable event handler is not used.
This commit is contained in:
Shuhei Kagawa 2014-03-09 20:16:39 +09:00 committed by Timothy J Fontaine
parent f0d870501e
commit 43a29f53ca

View File

@ -170,7 +170,7 @@ Example of opening standard input and listening for both events:
process.stdin.setEncoding('utf8');
process.stdin.on('readable', function(chunk) {
process.stdin.on('readable', function() {
var chunk = process.stdin.read();
if (chunk !== null) {
process.stdout.write('data: ' + chunk);