projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bc3532
)
doc: remove redundant parameter in `end` listener.
author
Alex Yursha
<alexyursha@gmail.com>
Fri, 10 Apr 2015 07:58:29 +0000
(10:58 +0300)
committer
Roman Reiss
<me@silverwind.io>
Sat, 11 Apr 2015 04:53:41 +0000
(06:53 +0200)
PR-URL: https://github.com/iojs/io.js/pull/1387
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
doc/api/stream.markdown
patch
|
blob
|
history
diff --git
a/doc/api/stream.markdown
b/doc/api/stream.markdown
index
2d6e1da
..
12f9907
100644
(file)
--- a/
doc/api/stream.markdown
+++ b/
doc/api/stream.markdown
@@
-284,7
+284,7
@@
data.
```javascript
var readable = getReadableStreamSomehow();
readable.resume();
-readable.on('end', function(
chunk
) {
+readable.on('end', function() {
console.log('got to the end, but did not read anything');
});
```