Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-05-04 03:31:50 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-05-04 03:31:50 +0300
commitb91f64467d5b5e75ffc4e8a2e6cbef95b5f959e3 (patch)
treeeb70b88adc2bbd159139d9c2200a6fe9d4891ce6 /lib
parent92c65cedd7924d58e324fb23e2dfee3d88553628 (diff)
Remove `wrtc` dependency #303
Diffstat (limited to 'lib')
-rw-r--r--lib/torrent.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index 8a189a2..6e329f1 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -209,7 +209,8 @@ Torrent.prototype._onSwarmListening = function () {
tracker: self.client.tracker,
peerId: self.client.peerId,
port: self.client.torrentPort,
- rtcConfig: self.client.rtcConfig
+ rtcConfig: self.client._rtcConfig,
+ wrtc: self.client._wrtc
})
self.discovery.setTorrent(self.infoHash)
self.discovery.on('peer', self.addPeer.bind(self))