1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

stream-provider - addd isConnected method

This commit is contained in:
kumavis 2016-03-21 11:11:56 +08:00
parent 17562f111d
commit ec7372ef51

View File

@ -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){