From e97478cc1e252f8963552028ff34a3bc3bdacd63 Mon Sep 17 00:00:00 2001 From: aaron Date: Fri, 16 Jan 2015 16:03:13 -0800 Subject: [PATCH] WebsocketProvider - fixed incorrect variable name --- lib/websocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/websocket.js b/lib/websocket.js index 5b40075e43..6d61d35d6c 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")