1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 10:24:11 +01:00

Make Teledactyl minimally functional, albeit with quite a lot of errors on the console.

This commit is contained in:
Kris Maglione
2011-02-19 22:02:01 -05:00
parent b648a061c8
commit d37e8159ed
23 changed files with 373 additions and 412 deletions

View File

@@ -69,7 +69,10 @@ var Option = Class("Option", {
if (extraInfo)
update(this, extraInfo);
if (arguments.length > 3) {
if (set.has(this.modules.config.defaults, this.name))
defaultValue = this.modules.config.defaults[this.name];
if (defaultValue !== undefined) {
if (this.type == "string")
defaultValue = Commands.quote(defaultValue);