1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 03:02:26 +01:00

add all commands by name as properties of vimperator.commands

This commit is contained in:
Doug Kearns
2007-06-19 06:27:31 +00:00
parent cc23556f02
commit c6a77488f4

View File

@@ -189,6 +189,10 @@ function Commands()//{{{
function addDefaultCommand(command)
{
ex_commands.push(command);
Commands.prototype[command.name] = function(args, special, count, modifiers)
{
command.execute(args, special, count, modifiers);
}
}
function commandsIterator()