diff options
author | aaron <kumavis@users.noreply.github.com> | 2015-01-17 08:03:13 +0800 |
---|---|---|
committer | aaron <kumavis@users.noreply.github.com> | 2015-01-17 08:03:13 +0800 |
commit | e97478cc1e252f8963552028ff34a3bc3bdacd63 (patch) | |
tree | 150b82993022638bc60756fcc9f52326109f7103 /lib | |
parent | 507241f73ce1eadc2a0072999a06ffa0246eb1ba (diff) | |
download | dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.tar.gz dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.tar.zst dexon-e97478cc1e252f8963552028ff34a3bc3bdacd63.zip |
WebsocketProvider - fixed incorrect variable name
Diffstat (limited to 'lib')
-rw-r--r-- | lib/websocket.js | 2 |
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") |