mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-23 10:02:25 +00:00
Merge pull request #32 from kumavis/patch-1
WebsocketProvider - fixed incorrect variable name
This commit is contained in:
commit
b2d23b91e7
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue