mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
removed backbone from VS solution,
renamed NzbDrone.Backbone to UI
This commit is contained in:
parent
c7776f74e1
commit
663160c06a
230 changed files with 57 additions and 386 deletions
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;
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue