2013-03-07 08:01:18 +00:00
|
|
|
|
define(['app'], function () {
|
|
|
|
|
NzbDrone.Quality.QualitySizeModel = Backbone.Model.extend({
|
|
|
|
|
|
|
|
|
|
initialize: function () {
|
|
|
|
|
this.validators = {};
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
mutators: {
|
2013-03-29 23:28:58 +00:00
|
|
|
|
thirtyMinuteSize: function () {
|
2013-03-07 08:01:18 +00:00
|
|
|
|
return this.get('maxSize') * 30;
|
|
|
|
|
},
|
2013-03-29 23:28:58 +00:00
|
|
|
|
sixtyMinuteSize : function () {
|
2013-03-07 08:01:18 +00:00
|
|
|
|
return this.get('maxSize') * 60;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|