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

added option value completion; small typos.

This commit is contained in:
Tim Hammerquist
2008-06-19 22:34:45 +00:00
parent 600ff1cce9
commit c55d7b51d0
5 changed files with 51 additions and 7 deletions

View File

@@ -589,7 +589,12 @@ liberator.Hints = function () //{{{
"How links are matched",
"string", "contains",
{
validator: function (value) { return /^(?:contains|wordstartswith|firstletters|custom)$/.test(value); }
validator: function (value) { return /^(?:contains|wordstartswith|firstletters|custom)$/.test(value); },
completer: function (filter)
{
return ["contains","wordstartswith","firstletters","custom"]
.map(function(m){ return [m,""] });
},
});
liberator.options.add(["wordseparators", "wsp"],