cleaned up all the cells. there is a cell for pretty much everything.

This commit is contained in:
kay.one 2013-06-09 13:51:32 -07:00
parent ac3582d5c4
commit 70cfa5e685
42 changed files with 432 additions and 261 deletions

View file

@ -1,5 +1,5 @@
"use strict";
define(['app'], function () {
define(['app','Series/SeriesModel'], function () {
NzbDrone.Series.EpisodeModel = Backbone.Model.extend({
mutators: {
@ -55,6 +55,13 @@ define(['app'], function () {
}
},
parse: function (model) {
model.series = new NzbDrone.Series.SeriesModel(model.series);
return model;
},
defaults: {
seasonNumber: 0,
status : 0