mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
client side code webstorm code cleanup.
This commit is contained in:
parent
375f887539
commit
445ea4f344
94 changed files with 4355 additions and 4243 deletions
|
@ -2,18 +2,18 @@
|
|||
NzbDrone.Quality.QualityProfileModel = Backbone.Model.extend({
|
||||
|
||||
mutators: {
|
||||
allowed: function() {
|
||||
allowed: function () {
|
||||
return _.where(this.get('qualities'), { allowed: true });
|
||||
},
|
||||
|
||||
cutoffName: function() {
|
||||
cutoffName: function () {
|
||||
return _.findWhere(this.get('qualities'), { id: this.get('cutoff') }).name;
|
||||
}
|
||||
},
|
||||
|
||||
defaults: {
|
||||
id: null,
|
||||
name: '',
|
||||
id : null,
|
||||
name : '',
|
||||
//'qualities.allowed': false,
|
||||
cutoff: null
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue