Mast.registerComponent('Dad',{
init: function (){
// Do some stuff
}
});
Mast.registerComponent('Daughter',{
extendsFrom: 'Dad',
init: function() {
// Run Dad's init function
// instead of Mast.components.Dad.prototype.init.call(this,someArg, someOtherArg);
this.inherited.init(someArg,someOtherArg)
// Do some more stuff specific to Daughter
}
});