ronin/scripts/ronin.hint.js
2016-11-16 10:58:59 -08:00

19 lines
346 B
JavaScript

function Hint(element)
{
Module.call(this);
this.element = element;
this.update = function()
{
if(ronin.module){
this.element.innerHTML = ronin.module.hint(commander.cmd);
this.element.style.display = "block";
}
else{
this.element.style.display = "none";
}
console.log(ronin.module);
}
}