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:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user