Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/extend.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@
//Return expected result from toString
child.toString = function(){
return to.toString()
}
};

//Allow the child to be extended.
child.extend = function(target){
//Create parent referance and inherentence path.
target.parent = to;
return ext.apply(child,arguments);
}
};

return child
}
};
//Bootstrap Class by inheriting itself with empty constructor.
global.Class = global.Class.extend(function() {
this.constructor=function(){}
});
})(this)
})(this);