Skip to content

Commit

Permalink
doc: remove redundant parameter in end listener.
Browse files Browse the repository at this point in the history
PR-URL: #1387
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Roman Reiss <[email protected]>
  • Loading branch information
yursha authored and silverwind committed Apr 11, 2015
1 parent 2bc3532 commit 3ad6ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/stream.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
```
Expand Down

0 comments on commit 3ad6ea7

Please sign in to comment.