2013-05-01 22:42:30 +00:00
|
|
|
|
"use strict";
|
|
|
|
|
define(['app'], function () {
|
2013-03-07 08:01:18 +00:00
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
2013-05-01 22:42:30 +00:00
|
|
|
|
});
|