Permalink
Browse files

pause and resume don't work on node 0.6 or else the instanceof checks…

… weren't even firing before
  • Loading branch information...
1 parent 774100d commit f5cbab5dc5d2a40ef5f775b6e607df8de0e20823 @substack committed Feb 22, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 index.js
View
7 index.js
@@ -23,15 +23,8 @@ module.exports = function (obj) {
s.writable = true;
s.type = part.type;
part.pipe(s);
-
- part.pause();
s.pause();
- var resume = s.resume;
- s.resume = function () {
- part.resume();
- return resume.apply(this, arguments);
- };
return s;
}
else {

0 comments on commit f5cbab5

Please sign in to comment.