sonarr-repo-only/UI/Missing/MissingModel.js

13 lines
371 B
JavaScript
Raw Normal View History

2013-03-21 03:02:57 +00:00
define(['app'], function (app) {
NzbDrone.Missing.MissingModel = Backbone.Model.extend({
mutators: {
bestDateString : function () {
2013-03-21 03:02:57 +00:00
return bestDateString(this.get('airDate'));
},
paddedEpisodeNumber: function () {
2013-03-21 03:02:57 +00:00
return this.get('episodeNumber');
}
}
});
});