Skip to content

Commit

Permalink
Merge pull request #32 from kumavis/patch-1
Browse files Browse the repository at this point in the history
WebsocketProvider - fixed incorrect variable name
  • Loading branch information
debris committed Jan 17, 2015
2 parents 507241f + e97478c commit b2d23b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit b2d23b9

Please sign in to comment.