mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 10:35:46 +01:00
Add 'yankshort' option.
This commit is contained in:
@@ -336,7 +336,9 @@ var Option = Class("Option", {
|
||||
if (this.type === "string")
|
||||
defaultValue = Commands.quote(defaultValue);
|
||||
|
||||
if (isObject(defaultValue))
|
||||
if (isArray(defaultValue))
|
||||
defaultValue = defaultValue.map(Option.quote).join(",");
|
||||
else if (isObject(defaultValue))
|
||||
defaultValue = iter(defaultValue).map(function (val) val.map(Option.quote).join(":")).join(",");
|
||||
|
||||
if (isArray(defaultValue))
|
||||
|
||||
Reference in New Issue
Block a user