1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00:00
Lidarr/UI/Calendar/CalendarCollection.js
kay.one 663160c06a removed backbone from VS solution,
renamed NzbDrone.Backbone to UI
2013-03-29 12:18:44 -07:00

9 lines
No EOL
332 B
JavaScript

define(['app', 'Calendar/CalendarModel'], function () {
NzbDrone.Calendar.CalendarCollection = Backbone.Collection.extend({
url: NzbDrone.Constants.ApiRoot + '/calendar',
model: NzbDrone.Calendar.CalendarModel,
comparator: function(model) {
return model.get('start');
}
});
});