diff options
Diffstat (limited to 'pyload/web/app/scripts/collections/LinkList.js')
-rw-r--r-- | pyload/web/app/scripts/collections/LinkList.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pyload/web/app/scripts/collections/LinkList.js b/pyload/web/app/scripts/collections/LinkList.js new file mode 100644 index 000000000..170a2c039 --- /dev/null +++ b/pyload/web/app/scripts/collections/LinkList.js @@ -0,0 +1,14 @@ +define(['jquery', 'backbone', 'underscore', 'models/LinkStatus'], function($, Backbone, _, LinkStatus) { + 'use strict'; + + return Backbone.Collection.extend({ + + model: LinkStatus, + + comparator: function(link) { + return link.get('name'); + } + + }); + +});
\ No newline at end of file |