1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-21 00:41:43 +02:00
Radarr/UI/History/Model.js
2013-05-10 15:33:04 -07:00

15 lines
384 B
JavaScript

"use strict";
define(['app'], function (app) {
NzbDrone.History.Model = Backbone.Model.extend({
mutators: {
seasonNumber: function () {
return this.get('episode').seasonNumber;
},
paddedEpisodeNumber: function () {
return this.get('episode').episodeNumber.pad(2);
}
}
});
});