Removed torrent update pretty text, now using angular filter

This commit is contained in:
Diego Rodríguez 2015-11-30 18:58:45 -05:00
parent c5705f65dd
commit e32cb41a99
2 changed files with 1 additions and 5 deletions

View file

@ -90,10 +90,6 @@ app.controller 'bTorrentCtrl', ['$scope','$http','$log','$location', ($scope, $h
torrent.update = ->
torrent.pProgress = (100 * torrent.progress).toFixed(1)
torrent.pDownloaded = torrent.downloaded
torrent.pUploaded = torrent.uploaded
torrent.pUploadSpeed = torrent.uploadSpeed()
torrent.pDownloadSpeed = torrent.downloadSpeed()
if torrent.done
torrent.tRemaining = 'Done'
else

View file

@ -16,7 +16,7 @@ html(ng-app='bTorrent', lang='en')
header
h1
| βTorrent
span.version v0.4.1
span.version v0.4.2
.container(ng-controller='bTorrentCtrl', ng-cloak='')
.row
.twelve.columns