Lidarr/NzbDrone.Backbone/Calendar/CalendarModel.js

16 lines
441 B
JavaScript
Raw Normal View History

define(['app'], function (app) {
NzbDrone.Calendar.CalendarModel = Backbone.Model.extend({
mutators: {
2013-02-25 00:00:17 +00:00
title: function () {
return this.get('seriesTitle') + ' - ' + this.get('seasonNumber') + 'x' + this.get('episodeNumber').pad(2);
},
allDay: function(){
return false;
}
},
defaults: {
status: 0
}
});
});