Commit e97478cc authored by aaron's avatar aaron

WebsocketProvider - fixed incorrect variable name

parent 507241f7
......@@ -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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment