Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2016-01-10 19:53:10 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-01-11 02:08:59 +0300
commit19a942d6c2215352a35bde3abc5bfed21d9e3fc2 (patch)
treea2e652f7f9524b10f8e72b3bc7bf92a6d79d4e5c /bin
parent427f2d3b7b6e6d1bbb19681f7515acd80cc60d61 (diff)
BREAKING: `downloadSpeed` and `uploadSpeed` are getters
torrent.downloadSpeed() -> torrent.downloadSpeed torrent.uploadSpeed() -> torrent.uploadSpeed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmd.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index 311d358..2271548 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -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()