CommandManager.removeCommands Member

Removes multiple commands in a single call.

Syntax

object.removeCommands(cmdary);

Arguments

ArgumentSummary
cmdary An Array or Object containing CommandRecord objects. Ideally use the value returned from defineCommands.

Returns

Remarks

See Also

Source Code

function cmgr_removes(cmdary)
{
for (var i in cmdary)
{
var command = isinstance(cmdary[i], Array) ?
{name: cmdary[i][0]} : cmdary[i];
this.removeCommand(command);
}
}