mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-20 00:11:46 +02:00
18 lines
419 B
JavaScript
18 lines
419 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;
|
||
}
|
||
}
|
||
});
|
||
});
|