rem: var ev = new Object(); ev.line = text; console.onInputCompleteLine (ev); 
add: if (!e) { if (typeof CommandManager.cx == "object") e = CommandManager.cx; else e = new Object(); }  e.command = command;  if ((e.command.flags & CMD_NEED_STACK) && (!("frames" in console))) { /* doc, it hurts when I do /this/... */ display (MSG_ERR_NO_STACK, MT_ERROR); return null; }  if (!e.command.enabled) { /* disabled command */ display (getMsg(MSG_ERR_DISABLED, e.command.name), MT_ERROR); return null; }  if (typeof e.command.func == "function") { /* dispatch a real function */ if (e.command.usage) console.commandManager.parseArguments (e); if ("parseError" in e) displayUsageError (e, e.parseError); else e.returnValue = e.command.func(e); return e; }  if (typeof e.command.func == "string") { /* dispatch an alias (semicolon delimited list of subcommands) */ var commandList = e.command.func.split(";"); for (var i = 0; i < commandList.length; ++i) { commandList[i] = stringTrim(commandList[i]); if (i == 1) dispatch (commandList[i] + " " + e.inputData, e, flags); else dispatch (commandList[i], null, flags); } return e; }  /* by process of elimination... */ display (getMsg(MSN_ERR_NOTIMPLEMENTED, e.command.name), MT_ERROR);  return null; 
context: function dispatchCommand (text){    var ev = new Object();    ev.line = text;    console.onInputCompleteLine (ev);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/89326cbcdc6feb4eef3ffc00bb488c9640e8dd81/venkman-static.js/buggy/extensions/venkman/resources/content/venkman-static.js