sonarr-repo-only/UI/Quality/QualitySizeModel.js

19 lines
417 B
JavaScript
Raw Normal View History

"use strict";
define(
[
'backbone'
], function (Backbone) {
return Backbone.Model.extend({
mutators: {
thirtyMinuteSize: function () {
return this.get('maxSize') * 30;
},
sixtyMinuteSize : function () {
return this.get('maxSize') * 60;
}
}
});
});