pull/272/merge
Marek Kotewicz 10 years ago
commit a5907a8239
  1. 3
      lib/web3.js
  2. 3
      lib/websocket.js

@ -505,4 +505,5 @@ function messageHandler(data) {
}
}
module.exports = web3;
if (typeof(module) !== "undefined")
module.exports = web3;

@ -74,4 +74,5 @@ Object.defineProperty(WebSocketProvider.prototype, "onmessage", {
set: function(provider) { this.onMessage(provider); }
});
module.exports = WebSocketProvider;
if (typeof(module) !== "undefined")
module.exports = WebSocketProvider;

Loading…
Cancel
Save