1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 10:57:58 +01:00

Return a sane format from Option#value, rename {join,parse}Values to stringify/parse (c.f. JSON), and deprecate Option#values.

This commit is contained in:
Kris Maglione
2010-10-11 04:40:07 -04:00
parent e95bb3708c
commit b2a70aea71
5 changed files with 75 additions and 88 deletions

View File

@@ -874,7 +874,7 @@ const Completion = Module("completion", {
return first == val || second == val;
},
has: function () {
test = function (val) this.values.some(function (value) this.checkHas(value, val), this);
test = function (val) this.value.some(function (value) this.checkHas(value, val), this);
return Array.some(arguments, test, this);
}
};
@@ -901,7 +901,7 @@ const Completion = Module("completion", {
options.add(["wildcase", "wic"],
"Completion case matching mode",
"regexmap", "smart",
"regexmap", ".?:smart",
{
completer: function () [
["smart", "Case is significant when capital letters are typed"],