diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-03-14 19:22:43 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-03-14 19:22:43 -0400 |
commit | 4cfdba9223fe75ac6eb259d403c6f21a36e60679 (patch) | |
tree | 815c9ea2d7936648efae4f967be38e6cbc8080a1 /common/modules/options.jsm | |
parent | 9c0180a8a341f3be38594909422683705a3de55e (diff) | |
download | pentadactyl-4cfdba9223fe75ac6eb259d403c6f21a36e60679.tar.gz |
Localitize deprecation warnings.
Diffstat (limited to 'common/modules/options.jsm')
-rw-r--r-- | common/modules/options.jsm | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/modules/options.jsm b/common/modules/options.jsm index dfa16cb5..cc9303b7 100644 --- a/common/modules/options.jsm +++ b/common/modules/options.jsm @@ -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]; |