mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 21:52:27 +01:00
Refactor HTML generation to use E4X. Could use some refactoring.
This commit is contained in:
@@ -593,7 +593,7 @@ liberator.Hints = function () //{{{
|
||||
{
|
||||
completer: function (filter)
|
||||
{
|
||||
return ["contains", "wordstartswith", "firstletters", "custom"].map(function (m) [m, ""]);
|
||||
return [[m, ""] for each (m in ["contains", "wordstartswith", "firstletters", "custom"])];
|
||||
},
|
||||
validator: function (value) /^(contains|wordstartswith|firstletters|custom)$/.test(value)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user