Improved stencil

This commit is contained in:
Devine Lu Linvega
2016-12-29 09:57:53 -07:00
parent 1273898220
commit ded226c16f
3 changed files with 45 additions and 40 deletions

View File

@@ -15,12 +15,18 @@ function Render(rune)
cmd.content.shift();
return this.collection[name].render(cmd.content);
return this.collection[name].render(cmd);
}
this.passive = function(cmd)
{
var name = cmd.content[0];
if(!this.collection[name]){ console.log("Unknown filter:"+name); return; }
cmd.content.shift();
console.log(name);
return this.collection[name].preview(cmd);
}
}