summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/collections/ProgressList.js
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/static/js/collections/ProgressList.js')
-rw-r--r--module/web/static/js/collections/ProgressList.js17
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