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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user