mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
removed backbone from VS solution,
renamed NzbDrone.Backbone to UI
This commit is contained in:
@@ -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