Fixed path

This commit is contained in:
Devine Lu Linvega
2017-05-21 11:08:25 -10:00
parent 39fc652117
commit 488440b5d8
14 changed files with 52 additions and 83 deletions

View File

@@ -33,6 +33,13 @@ function Command(content)
return module.methods[method_name] ? module.methods[method_name] : null;
}
this.params = function()
{
var a = this.content.split(" ");
a.shift();
return a.join(" ").trim();
}
this.inject_position = function(injection)
{

View File

@@ -30,7 +30,7 @@ function Ronin()
this.modules[this.source.name] = this.source;
this.modules[this.render.name] = this.render;
// this.modules[this.eye.constructor.name] = this.eye;
// this.modules[this.magnet.constructor.name] = this.magnet;
this.modules[this.magnet.name] = this.magnet;
this.modules[this.cursor.name] = this.cursor;
this.modules[this.terminal.name] = this.terminal;