mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
663160c06a
renamed NzbDrone.Backbone to UI
17 lines
430 B
JavaScript
17 lines
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;
|
|
}
|
|
}
|
|
});
|
|
}); |