mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
19 lines
417 B
JavaScript
19 lines
417 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;
|
|
}
|
|
}
|
|
});
|
|
});
|