Radarr/UI/Missing/MissingModel.js

14 lines
382 B
JavaScript
Raw Normal View History

2013-03-30 19:33:41 +00:00
"use strict";
define(['app'], function () {
2013-03-21 03:02:57 +00:00
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');
}
}
});
});