diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-01-10 19:53:10 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-01-11 02:08:59 +0300 |
commit | 19a942d6c2215352a35bde3abc5bfed21d9e3fc2 (patch) | |
tree | a2e652f7f9524b10f8e72b3bc7bf92a6d79d4e5c /bin | |
parent | 427f2d3b7b6e6d1bbb19681f7515acd80cc60d61 (diff) |
BREAKING: `downloadSpeed` and `uploadSpeed` are getters
torrent.downloadSpeed() -> torrent.downloadSpeed
torrent.uploadSpeed() -> torrent.uploadSpeed
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/cmd.js | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -446,7 +446,6 @@ function runDownload (torrentId) { device.play(href, 0, function () {}) }) .start() - // TODO: handle case where user closes airplay. do same thing as when VLC is closed } if (argv.chromecast) { @@ -505,7 +504,7 @@ function drawTorrent (torrent) { }) var linesRemaining = clivas.height var peerslisted = 0 - var speed = torrent.downloadSpeed() + var speed = torrent.downloadSpeed var estimate = moment.duration(torrent.timeRemaining / 1000, 'seconds').humanize() clivas.clear() |