mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
removed backbone from VS solution,
renamed NzbDrone.Backbone to UI
This commit is contained in:
9
UI/Calendar/CalendarCollection.js
Normal file
9
UI/Calendar/CalendarCollection.js
Normal file
@@ -0,0 +1,9 @@
|
||||
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');
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user