X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=xynt-base.js;h=f74baa5e99c5af81d247e9aa93625b02c7663b99;hb=f3db8a668b8b33078355ef3b6836fd866ca138a2;hp=157141b15b0d130ff7a43a116b0dfe45e4fbf253;hpb=26f2f12f9e360b879acb551ae130f91b8b6cdd11;p=xynt.git diff --git a/xynt-base.js b/xynt-base.js index 157141b..f74baa5 100644 --- a/xynt-base.js +++ b/xynt-base.js @@ -1,7 +1,3 @@ -/* - * TODO - * super methods caller - */ function Extends(sub) { @@ -44,6 +40,19 @@ function Extends(sub) } multi(inh, sub, true); + + + inh.callSuper = function(fnc){ + var len = this.xynt_sup_cl.length; + for ( var i=0 ; i