1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 20:45:47 +01:00

Better option completion/validation.

This commit is contained in:
Kris Maglione
2008-11-28 04:28:38 +00:00
parent 49d331f811
commit 2ef031c756
10 changed files with 39 additions and 61 deletions

View File

@@ -128,7 +128,7 @@ const liberator = (function () //{{{
["b", "Bookmark bar"]
].concat(!liberator.has("tabs") ? [] : tabopts);
},
validator: function (value) Array.every(value, function (c) c in config.guioptions || tabopts.some(function (a) a[0] == c))
validator: options.validateCompleter
});
options.add(["helpfile", "hf"],