1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00:00
Lidarr/UI/Quality/QualitySizeModel.js
kay.one 663160c06a removed backbone from VS solution,
renamed NzbDrone.Backbone to UI
2013-03-29 12:18:44 -07:00

17 lines
No EOL
430 B
JavaScript

define(['app'], function () {
NzbDrone.Quality.QualitySizeModel = Backbone.Model.extend({
initialize: function () {
this.validators = {};
},
mutators: {
thirtyMinuteSize: function() {
return this.get('maxSize') * 30;
},
sixtyMinuteSize: function(){
return this.get('maxSize') * 60;
}
}
});
});