|
@ -29,9 +29,14 @@ var QualityBase = new Class({ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
getQuality: function(identifier){ |
|
|
getQuality: function(identifier){ |
|
|
|
|
|
try { |
|
|
return this.qualities.filter(function(q){ |
|
|
return this.qualities.filter(function(q){ |
|
|
return q.identifier == identifier; |
|
|
return q.identifier == identifier; |
|
|
}).pick(); |
|
|
}).pick(); |
|
|
|
|
|
} |
|
|
|
|
|
catch(e){} |
|
|
|
|
|
|
|
|
|
|
|
return {} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
addSettings: function(){ |
|
|
addSettings: function(){ |
|
|