Lidarr/NzbDrone.Backbone/Missing/MissingCollection.js

9 lines
327 B
JavaScript
Raw Normal View History

2013-03-21 03:02:57 +00:00
define(['app', 'Missing/MissingModel'], function () {
NzbDrone.Missing.MissingCollection = Backbone.Collection.extend({
url: NzbDrone.Constants.ApiRoot + '/missing',
model: NzbDrone.Missing.MissingModel,
comparator: function(model) {
return model.get('airDate');
}
});
});