Fix Done debug

This commit is contained in:
Diego Rodríguez 2017-02-03 11:57:35 -05:00
parent 81826dd5aa
commit ac454e6c8f
No known key found for this signature in database
GPG key ID: 699A21547E317F10

2
app.js
View file

@ -319,7 +319,7 @@ app.controller('ViewCtrl', ['$scope', '$rootScope', '$http', '$log', '$location'
dbg('Done ', file)
})
})
torrent.on('done', dbg('Done', torrent))
torrent.on('done', function () { dbg('Done', torrent) })
torrent.on('wire', function (wire, addr) { dbg(`Wire ${addr}`, torrent) })
torrent.on('error', er)
}