mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
removed QualityModel/SeasonModel mutators.
This commit is contained in:
parent
9835608ff0
commit
eceed9f439
4 changed files with 7 additions and 46 deletions
|
@ -6,16 +6,6 @@ define(
|
|||
'Series/EpisodeModel'
|
||||
], function (Backbone, SeriesModel, EpisodeModel) {
|
||||
return Backbone.Model.extend({
|
||||
mutators: {
|
||||
seasonNumber: function () {
|
||||
return this.get('episode').seasonNumber;
|
||||
},
|
||||
|
||||
paddedEpisodeNumber: function () {
|
||||
return this.get('episode').episodeNumber.pad(2);
|
||||
}
|
||||
},
|
||||
|
||||
parse: function (model) {
|
||||
model.series = new SeriesModel(model.series);
|
||||
model.episode = new EpisodeModel(model.episode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue