aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraaron <kumavis@users.noreply.github.com>2015-01-17 08:03:13 +0800
committeraaron <kumavis@users.noreply.github.com>2015-01-17 08:03:13 +0800
commite97478cc1e252f8963552028ff34a3bc3bdacd63 (patch)
tree150b82993022638bc60756fcc9f52326109f7103
parent507241f73ce1eadc2a0072999a06ffa0246eb1ba (diff)
downloaddexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.tar
dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.tar.gz
dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.tar.bz2
dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.tar.lz
dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.tar.xz
dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.tar.zst
dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.zip
WebsocketProvider - fixed incorrect variable name
-rw-r--r--lib/websocket.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/websocket.js b/lib/websocket.js
index 5b40075e4..6d61d35d6 100644
--- a/lib/websocket.js
+++ b/lib/websocket.js
@@ -71,7 +71,7 @@ WebSocketProvider.prototype.unload = function() {
this.ws.close();
};
Object.defineProperty(WebSocketProvider.prototype, "onmessage", {
- set: function(provider) { this.onMessage(provider); }
+ set: function(handler) { this.onMessage(handler); }
});
if (typeof(module) !== "undefined")