diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-18 07:30:08 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-18 07:30:08 +0800 |
commit | b2d23b91e7dbae0d725f41c09dc29bf182dffbd9 (patch) | |
tree | 150b82993022638bc60756fcc9f52326109f7103 | |
parent | 507241f73ce1eadc2a0072999a06ffa0246eb1ba (diff) | |
parent | e97478cc1e252f8963552028ff34a3bc3bdacd63 (diff) | |
download | go-tangerine-b2d23b91e7dbae0d725f41c09dc29bf182dffbd9.tar.gz go-tangerine-b2d23b91e7dbae0d725f41c09dc29bf182dffbd9.tar.zst go-tangerine-b2d23b91e7dbae0d725f41c09dc29bf182dffbd9.zip |
Merge pull request #32 from kumavis/patch-1
WebsocketProvider - fixed incorrect variable name
-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") |