diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-05-04 04:37:28 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-05-04 04:37:28 +0300 |
commit | 4ceef9bc2c30d9db0b280e4ec37ac524edd49c4e (patch) | |
tree | d789cb00bf9eeac4a9d4e8ac3b5c926ec5ca5ec7 /index.js | |
parent | 6a3b6b98330f0ce38f2f494bfdc3cb0a9e08b72e (diff) |
support `webtorrent-hybrid` package
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ function WebTorrent (opts) { self.tracker = opts.tracker !== undefined ? opts.tracker : true self._rtcConfig = opts.rtcConfig - self._wrtc = opts.wrtc + self._wrtc = opts.wrtc || global.WRTC // to support `webtorrent-hybrid` package self.torrents = [] |