diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2014-11-29 10:58:31 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2014-11-29 10:58:31 +0300 |
commit | 6abf6bc9a50d6c5b0d34b95a83df3a8dbc4bcc4c (patch) | |
tree | 8298eae3658615a6556e8aac401483325c04a055 /index.js | |
parent | ac43874204fde89f2c8a3f50e634838b24ac271b (diff) |
allow Torrent to be initialized from another Torrent instance
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -194,6 +194,7 @@ WebTorrent.prototype.seed = function (input, opts, onseed) { onseed = opts opts = {} } + if (!opts) opts = {} // TODO: support `input` as string, or array of strings |