Almost there

This commit is contained in:
Devine Lu Linvega
2017-05-21 10:31:54 -10:00
parent de175e12e7
commit 39fc652117
9 changed files with 73 additions and 76 deletions

View File

@@ -19,11 +19,11 @@ function Method(name,params,mouse_event)
return s;
}
this.help = function()
this.hint = function()
{
var s = "";
for(id in this.params){
s += this.params[id]+":"
s += "<span class='params'>"+this.params[id]+"</span> ";
}
s = s.substr(0,s.length-1);
@@ -37,6 +37,6 @@ function Method(name,params,mouse_event)
this.run = function(cmd)
{
return this.host[this.name](cmd,false);
return ronin.terminal.log(new Log(this.host,this.host[this.name](cmd,false)));
}
}