module var fix
This commit is contained in:
parent
807ec60e63
commit
07fba274b1
|
@ -74,4 +74,5 @@ Object.defineProperty(WebSocketProvider.prototype, "onmessage", {
|
||||||
set: function(provider) { this.onMessage(provider); }
|
set: function(provider) { this.onMessage(provider); }
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = WebSocketProvider;
|
if (typeof(module) !== "undefined")
|
||||||
|
module.exports = WebSocketProvider;
|
||||||
|
|
Loading…
Reference in New Issue