Browse Source

module var fix

cl-refactor
Jeffrey Wilcke 10 years ago
parent
commit
07fba274b1
  1. 3
      lib/websocket.js

3
lib/websocket.js

@ -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