module var fix

pull/272/merge
Jeffrey Wilcke 10 years ago
parent 807ec60e63
commit 07fba274b1
  1. 1
      lib/websocket.js

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

Loading…
Cancel
Save