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:
Diffstat (limited to 'lib')
-rw-r--r--lib/torrent.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/torrent.js b/lib/torrent.js
index 24e7b44..1f0be5b 100644
--- a/lib/torrent.js
+++ b/lib/torrent.js
@@ -193,12 +193,6 @@ class Torrent extends EventEmitter {
return numConns
}
- // TODO: remove in v1
- get swarm () {
- console.warn('WebTorrent: `torrent.swarm` is deprecated. Use `torrent` directly instead.')
- return this
- }
-
_onTorrentId (torrentId) {
if (this.destroyed) return