From: Matteo Nastasi Date: Thu, 24 Nov 2011 17:59:52 +0000 (+0100) Subject: ExtendsInst function added to extends a previous object X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;ds=inline;h=7d3763202c13153dcfcc72570d7f69af52aea9fa;p=xynt.git ExtendsInst function added to extends a previous object --- diff --git a/xynt-base.js b/xynt-base.js index 157141b..a2cfd24 100644 --- a/xynt-base.js +++ b/xynt-base.js @@ -44,6 +44,19 @@ function Extends(sub) } multi(inh, sub, true); + + + inh.callSuper = function(fnc){ + var len = this.xynt_sup_cl.length; + for ( var i=0 ; i