1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 00:07:58 +01:00

add missing var declarations

This commit is contained in:
Doug Kearns
2007-05-31 11:02:33 +00:00
parent b51357109d
commit 6d28fd6107
2 changed files with 2 additions and 3 deletions

View File

@@ -270,7 +270,7 @@ function get_help_completions(filter)/*{{{*/
$_[1]
];
}));
for (map in vimperator.mappings)
for (var map in vimperator.mappings)
help_array.push([map.commands, map.short_help])
if (!filter) return help_array.map(function($_) {

View File

@@ -168,10 +168,9 @@ function help(section, easter)
'<p><table class="vimperator mappings">'
// FIXME: fix this when Command() is added and help patch is merged -- djk
var all_maps = [];
for (map in vimperator.mappings)
for (var map in vimperator.mappings)
all_maps.push([map.commands, [map.usage], map.short_help, map.help])
mappings += makeHelpString(all_maps, "#102663", "", "", null);
//mappings += makeHelpString(g_mappings, "#102663", "", "", null);
mappings += '</table></p>';
if (section && section == 'holy-grail')
mappings += '<span id="holy-grail">You found it, Arthur!</span>\n';