1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-31 16:02:29 +01:00
Sonarr/UI/Series/EpisodeModel.js
2013-04-30 17:25:33 -07:00

19 lines
439 B
JavaScript

"use strict";
define(['app'], function () {
NzbDrone.Series.EpisodeModel = Backbone.Model.extend({
mutators: {
bestDateString : function () {
return bestDateString(this.get('airDate'));
},
paddedEpisodeNumber: function () {
return this.get('episodeNumber');
}
},
defaults: {
seasonNumber: 0
}
});
});