1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-26 09:49:00 +00:00
Radarr/UI/Quality/QualitySizeModel.js
kay.one 769331d45d updated jshint to 2.1.3
single quotes
2013-06-21 23:24:24 -07:00

18 lines
449 B
JavaScript

'use strict';
define(['app'], function () {
NzbDrone.Quality.QualitySizeModel = Backbone.Model.extend({
initialize: function () {
this.validators = {};
},
mutators: {
thirtyMinuteSize: function () {
return this.get('maxSize') * 30;
},
sixtyMinuteSize : function () {
return this.get('maxSize') * 60;
}
}
});
});