diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-06-16 01:37:29 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-06-16 01:37:29 +0300 |
commit | bac83cdae1320478c4a28b6249ff0fd157b9294c (patch) | |
tree | 0c51a97aa8206a5fd92d398c0928dfd0c155fd57 /index.js | |
parent | 064a5be160a1d575e15643a3551c8f1c1a186c05 (diff) |
Emit 'seed' event on the torrent object
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -348,6 +348,7 @@ WebTorrent.prototype.seed = function (input, opts, onseed) { function _onseed (torrent) { debug('on seed') if (typeof onseed === 'function') onseed(torrent) + torrent.emit('seed') self.emit('seed', torrent) } |