added bittorrent to the ctx, fix the torrent name in angular

This commit is contained in:
hamza zia 2013-01-24 17:19:57 +05:00
parent 8de82139cb
commit 61bfe20b94

View File

@ -80,7 +80,8 @@ function(scope, rpc, utils) {
_.each([ _.each([
'totalLength', 'completedLength', 'uploadLength', 'dir', 'totalLength', 'completedLength', 'uploadLength', 'dir',
'pieceLength', 'downloadSpeed', 'uploadSpeed', 'files', 'pieceLength', 'downloadSpeed', 'uploadSpeed', 'files',
'status', 'gid', 'bitfield', 'numPieces', 'connections' 'status', 'gid', 'bitfield', 'numPieces', 'connections',
'bittorrent'
], function(e) { ], function(e) {
ctx[e] = d[e]; ctx[e] = d[e];
}); });