Improved Source and Terminal queue

This commit is contained in:
Devine Lu Linvega
2017-05-21 20:42:05 -10:00
parent f56180f7d2
commit 271e8b5c97
20 changed files with 162 additions and 102 deletions

View File

@@ -32,11 +32,11 @@ function Method(name,params,mouse_event)
this.preview = function(cmd)
{
return this.host[this.name](cmd,true);
return this.host[this.name] ? this.host[this.name](cmd,true) : "";
}
this.run = function(cmd)
{
return ronin.terminal.log(new Log(this.host,this.host[this.name](cmd,false)));
return this.host[this.name] ? ronin.terminal.log(new Log(this.host,this.host[this.name](cmd,false))) : null;
}
}