diff options
author | Shuhei Kagawa <shuhei.kagawa@gmail.com> | 2014-03-09 20:16:39 +0900 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2014-03-10 15:30:40 -0700 |
commit | 43a29f53ca11ab48e1d1ef6b2a0e673ae43a42a0 (patch) | |
tree | 6fbd6c5076ee0d4e03eeaac794a6fa5281df4d4a | |
parent | f0d870501ed240f550b2be6b0a138312fb6f4a30 (diff) | |
download | node-new-43a29f53ca11ab48e1d1ef6b2a0e673ae43a42a0.tar.gz |
doc: remove an unused arg in process.stdin.
The argument of process.stdin's readable event handler is not used.
-rw-r--r-- | doc/api/process.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/process.markdown b/doc/api/process.markdown index dafcd23bdd..68f15c2fb1 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -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); |