diff options
author | Rafael Garcia <rgarcia2009@gmail.com> | 2013-04-04 12:18:21 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-04-05 12:05:58 -0700 |
commit | ea4f0b4a6b4c1785b1d112504a79ebf7d7f46e49 (patch) | |
tree | ca7504c7f7822e1c1644f23fb3aa06e52db67116 /lib/_stream_transform.js | |
parent | aeef9518c6ecea8bee896dee28b8796814d187c0 (diff) | |
download | android-node-v8-ea4f0b4a6b4c1785b1d112504a79ebf7d7f46e49.tar.gz android-node-v8-ea4f0b4a6b4c1785b1d112504a79ebf7d7f46e49.tar.bz2 android-node-v8-ea4f0b4a6b4c1785b1d112504a79ebf7d7f46e49.zip |
stream: remove vestiges of previous _transform API
Diffstat (limited to 'lib/_stream_transform.js')
-rw-r--r-- | lib/_stream_transform.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_stream_transform.js b/lib/_stream_transform.js index ec2b46a953..2814d1ed2b 100644 --- a/lib/_stream_transform.js +++ b/lib/_stream_transform.js @@ -152,7 +152,7 @@ Transform.prototype.push = function(chunk) { // Call `cb(err)` when you are done with this chunk. If you pass // an error, then that'll put the hurt on the whole operation. If you // never call cb(), then you'll never get another chunk. -Transform.prototype._transform = function(chunk, output, cb) { +Transform.prototype._transform = function(chunk, encoding, cb) { throw new Error('not implemented'); }; @@ -171,7 +171,7 @@ Transform.prototype._write = function(chunk, encoding, cb) { }; // Doesn't matter what the args are here. -// the output and callback functions passed to _transform do all the work. +// _transform does all the work. // That we got here means that the readable side wants more data. Transform.prototype._read = function(n) { var ts = this._transformState; |