webui-aria2/js
Nils Maier 71d66758e0 Improve ngWatch time significantly
Angular uses dirty-checking for data-bindings. This is OK for POD types,
but when it comes to objects, incl. arrays, just stuffing in the new
array without checking for changed content will make angular think
something has changed and update the DOM when there really was no change
at all. So do not blindly copy over objects and arrays anymore.

Also, since webui-aria2 does not use all `bittorrent` and `file` fields,
there is no point in keeping all fields around, causing unnecessary
angular invalidations.

With this commit, the update code runs in about 1/10th of the time it
did before on my system (Chrome/Firefox) when using displaying many
torrent downloads with many files.
2014-02-20 08:20:01 +01:00
..
ctrls Improve ngWatch time significantly 2014-02-20 08:20:01 +01:00
directives fixed the upload graph bug 2014-01-08 15:13:25 +05:00
filters Format times like hh:mm:ss 2013-07-31 23:37:10 +02:00
libs new uri modal in angular, with overall refactoring and fixes in the 2013-01-28 19:18:21 +05:00
old new uri modal in angular, with overall refactoring and fixes in the 2013-01-28 19:18:21 +05:00
services Fix subscriptions race. 2014-01-09 04:18:44 +01:00
init.js TONS of features and refinements, quick access settings finally landed :) 2013-06-23 22:02:50 +02:00