diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-09 19:57:03 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-09 19:57:03 +0800 |
commit | a5907a8239c2d60ee5491ae2a33b105480798c6a (patch) | |
tree | 7dbc6ce1febbc8140b6095ab26b7adc4bd465736 /lib/websocket.js | |
parent | 2a6c84984aace51e64fe87ca6770da0208b3b65f (diff) | |
parent | c9015e2e04729a06cbcfd650ebfb0c1e71d96ce3 (diff) | |
download | go-tangerine-a5907a8239c2d60ee5491ae2a33b105480798c6a.tar go-tangerine-a5907a8239c2d60ee5491ae2a33b105480798c6a.tar.gz go-tangerine-a5907a8239c2d60ee5491ae2a33b105480798c6a.tar.bz2 go-tangerine-a5907a8239c2d60ee5491ae2a33b105480798c6a.tar.lz go-tangerine-a5907a8239c2d60ee5491ae2a33b105480798c6a.tar.xz go-tangerine-a5907a8239c2d60ee5491ae2a33b105480798c6a.tar.zst go-tangerine-a5907a8239c2d60ee5491ae2a33b105480798c6a.zip |
Merge branch 'master' of https://github.com/ethereum/ethereum.js
Diffstat (limited to 'lib/websocket.js')
-rw-r--r-- | lib/websocket.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/websocket.js b/lib/websocket.js index ddb44aed5..5b40075e4 100644 --- a/lib/websocket.js +++ b/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; |