mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 15:24:11 +01:00
Localitize deprecation warnings.
This commit is contained in:
@@ -51,14 +51,8 @@ var Option = Class("Option", {
|
||||
this.realNames = names;
|
||||
this.description = description;
|
||||
|
||||
// Need to trigger setter
|
||||
if (extraInfo && "values" in extraInfo && !extraInfo.__lookupGetter__("values")) {
|
||||
this.values = extraInfo.values;
|
||||
delete extraInfo.values;
|
||||
}
|
||||
|
||||
if (extraInfo)
|
||||
update(this, extraInfo);
|
||||
this.update(extraInfo);
|
||||
|
||||
if (set.has(this.modules.config.defaults, this.name))
|
||||
defaultValue = this.modules.config.defaults[this.name];
|
||||
|
||||
Reference in New Issue
Block a user