1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-29 02:55:38 +00:00
Lidarr/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');
}
}
});
});