mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 09:49:00 +00:00
17 lines
416 B
JavaScript
17 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;
|
|
}
|
|
}
|
|
});
|
|
});
|