Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add readable property to the mu stream

  • Loading branch information...
commit be2582a07b27a51ac74fcfa1c05b9e2a46ff00e0 1 parent 8f90fc2
Ray Morgan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/mu/stream.js
3  lib/mu/stream.js
View
@@ -6,6 +6,7 @@ var util = require('util')
function MuStream() {
Stream.call(this);
this.paused = false;
+ this.readable = true;
}
util.inherits(MuStream, Stream);
@@ -17,7 +18,7 @@ MuStream.prototype.pause = function () {
this.paused = true;
}
-MuStream.prototype.resume = function() {
+MuStream.prototype.resume = function () {
console.log('resume');
this.paused = false;
this.emit('resumed');
Please sign in to comment.
Something went wrong with that request. Please try again.