1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/UI/Quality/QualitySizeModel.js
2013-06-24 22:12:42 -07:00

18 lines
416 B
JavaScript

'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;
}
}
});
});