mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
removed backbone from VS solution,
renamed NzbDrone.Backbone to UI
This commit is contained in:
17
UI/Quality/QualitySizeModel.js
Normal file
17
UI/Quality/QualitySizeModel.js
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user