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
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2014-12-30 06:52:01 +0300
committerFeross Aboukhadijeh <feross@feross.org>2014-12-30 06:52:01 +0300
commitffcb0700e73a2fb21ff7d2a1bd3a19340823fcfa (patch)
treee5c6be77a5f84d7fa5b7711e08c5ef43ba654b15 /index.js
parent3db656bd9b427339bcbd1ec38b0fe2e50d5588e8 (diff)
add `torrent.magnetURI` getter function
Depends on https://github.com/feross/parse-torrent/pull/8
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/index.js b/index.js
index d63bea6..2ea0b4f 100644
--- a/index.js
+++ b/index.js
@@ -192,8 +192,6 @@ WebTorrent.prototype.seed = function (input, opts, onseed) {
}
if (!opts) opts = {}
- // TODO: support an array of paths
-
createTorrent.parseInput(input, opts, function (err, files) {
if (err) return self.emit('error', err)
var streams = files.map(function (file) { return file.getStream })