diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-12-27 21:38:05 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-12-27 21:38:05 +0300 |
commit | dc2601ed144b5348e6afa30496d380514836f5d2 (patch) | |
tree | 74c1d2be5ce1423334a0a4377f1e987d9eb0500b /examples/browser-seed.js | |
parent | 8cff356ce0f6852a80e3b07217ecaa5b1d3e3098 (diff) |
examples: simplify
Diffstat (limited to 'examples/browser-seed.js')
-rw-r--r-- | examples/browser-seed.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/browser-seed.js b/examples/browser-seed.js index ea2fbbe..7f8594c 100644 --- a/examples/browser-seed.js +++ b/examples/browser-seed.js @@ -5,8 +5,8 @@ var client = new WebTorrent() // When user drops files on the browser, create a new torrent and start seeding it! dragDrop('body', function (files) { - client.seed(files, function onTorrent (torrent) { + client.seed(files, function (torrent) { // Client is seeding the file! - console.log('Torrent info hash:', torrent.infoHash) + console.log('Torrent magnet link:', torrent.magnetURI) }) }) |