diff options
stream-provider - addd isConnected method
Diffstat (limited to 'app/scripts')
-rw-r--r-- | app/scripts/lib/stream-provider.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/scripts/lib/stream-provider.js b/app/scripts/lib/stream-provider.js index 635b7e6cc..505e45d1f 100644 --- a/app/scripts/lib/stream-provider.js +++ b/app/scripts/lib/stream-provider.js @@ -31,6 +31,10 @@ StreamProvider.prototype.sendAsync = function(payload, callback){ this.push(payload) } +StreamProvider.prototype.isConnected = function(){ + return true +} + // private StreamProvider.prototype._onResponse = function(response){ |