aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-03-21 11:11:56 +0800
committerkumavis <aaron@kumavis.me>2016-03-21 11:11:56 +0800
commitec7372ef51e519e76d0203694cade98bb0136e64 (patch)
tree034f36bc3855f5c45058317748269df6368bcf8c /app
parent17562f111dae529f81377483696bd0547f4d3ec9 (diff)
downloadtangerine-wallet-browser-ec7372ef51e519e76d0203694cade98bb0136e64.tar
tangerine-wallet-browser-ec7372ef51e519e76d0203694cade98bb0136e64.tar.gz
tangerine-wallet-browser-ec7372ef51e519e76d0203694cade98bb0136e64.tar.bz2
tangerine-wallet-browser-ec7372ef51e519e76d0203694cade98bb0136e64.tar.lz
tangerine-wallet-browser-ec7372ef51e519e76d0203694cade98bb0136e64.tar.xz
tangerine-wallet-browser-ec7372ef51e519e76d0203694cade98bb0136e64.tar.zst
tangerine-wallet-browser-ec7372ef51e519e76d0203694cade98bb0136e64.zip
stream-provider - addd isConnected method
Diffstat (limited to 'app')
-rw-r--r--app/scripts/lib/stream-provider.js4
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){