diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-20 15:33:01 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-12-20 15:33:01 +0100 |
commit | ceb59ee0739546368135b0d86a69b17c92bfbccf (patch) | |
tree | 863b70e281f8aa833d2a4a72a61f25113dd9b8e3 /module/web/static/js/collections | |
parent | separated handlebars init (diff) | |
download | pyload-ceb59ee0739546368135b0d86a69b17c92bfbccf.tar.xz |
added models and collections for progress
Diffstat (limited to 'module/web/static/js/collections')
-rw-r--r-- | module/web/static/js/collections/ProgressList.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/module/web/static/js/collections/ProgressList.js b/module/web/static/js/collections/ProgressList.js new file mode 100644 index 000000000..1706d5f16 --- /dev/null +++ b/module/web/static/js/collections/ProgressList.js @@ -0,0 +1,17 @@ +define(['jquery', 'backbone', 'underscore', 'models/Progress'], function($, Backbone, _, Progress) { + + return Backbone.Collection.extend({ + + model: Progress, + + comparator: function(progress) { + return progress.get('eta'); + }, + + initialize: function() { + + } + + }); + +});
\ No newline at end of file |