UNPKG

olive_oil

Version:

A namespace handler,class factory and inheritance handler

15 lines (14 loc) 275 B
module.exports={ parent:'Parent', surName:null, generation:2, init:function(name,surName){ this._super(name); this.surName=surName; }, toString:function(){ return this._super()+' and my surName is '+this.surName; }, doChildThing:function(){ } }