1
0
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:
Kris Maglione
2008-09-30 23:37:33 +00:00
parent 2a9ad9a18b
commit 1cf325a539
11 changed files with 349 additions and 332 deletions

View File

@@ -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)
});