aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-18 07:30:08 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-18 07:30:08 +0800
commitb2d23b91e7dbae0d725f41c09dc29bf182dffbd9 (patch)
tree150b82993022638bc60756fcc9f52326109f7103
parent507241f73ce1eadc2a0072999a06ffa0246eb1ba (diff)
parente97478cc1e252f8963552028ff34a3bc3bdacd63 (diff)
downloadgo-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.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")