Permalink
Browse files

fix typo

  • Loading branch information...
1 parent 69e6012 commit 8cd5614ee0b7cba13977556584899c5164051eaa @maxogden maxogden committed Apr 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 stream_notes.md
View
2 stream_notes.md
@@ -42,7 +42,7 @@ then emit drain when ready
readstream.readable = true
readstream.on('data', function(data) {
- var ready = writestream.bind(writestream)
+ var ready = writestream.write(data)
if (ready === false) {
this.pause()
writestream.once('drain', this.resume.bind(this))

0 comments on commit 8cd5614

Please sign in to comment.