mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 21:07:17 +00:00
WebsocketProvider - fixed incorrect variable name
This commit is contained in:
parent
507241f73c
commit
e97478cc1e
@ -71,7 +71,7 @@ WebSocketProvider.prototype.unload = function() {
|
|||||||
this.ws.close();
|
this.ws.close();
|
||||||
};
|
};
|
||||||
Object.defineProperty(WebSocketProvider.prototype, "onmessage", {
|
Object.defineProperty(WebSocketProvider.prototype, "onmessage", {
|
||||||
set: function(provider) { this.onMessage(provider); }
|
set: function(handler) { this.onMessage(handler); }
|
||||||
});
|
});
|
||||||
|
|
||||||
if (typeof(module) !== "undefined")
|
if (typeof(module) !== "undefined")
|
||||||
|
Loading…
Reference in New Issue
Block a user