New paradigm, GO!

This commit is contained in:
Devine Lu Linvega
2017-03-26 12:10:36 -07:00
parent 061b832851
commit 8d7c25c489
7 changed files with 90 additions and 47 deletions

View File

@@ -1,10 +1,9 @@
function Method(method_str)
function Method(name,params)
{
Unit.call(this);
var content = method_str.split(":");
this.name = content.shift();
this.params = content;
this.name = name;
this.params = params;
this.example = "";
this.render = function()