forked from cerc-io/plugeth
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); }
|
||||
});
|
||||
|
||||
if (typeof(module) !== "undefined")
|
||||
module.exports = WebSocketProvider;
|
||||
|
Loading…
Reference in New Issue
Block a user