X-Git-Url: http://mop.ddnsfree.com/gitweb/?p=xynt.git;a=blobdiff_plain;f=prova.html;h=ccac74a934980ae820a7467f3b15b35cdb41c370;hp=07dd60677997e76a9357f8ca77e0e324374aa4e8;hb=50efdc4b283f3cb7dadbfc032a87e85f74faa2c7;hpb=0242339d05f97e29df4785ad0234f86370303d42 diff --git a/prova.html b/prova.html index 07dd606..ccac74a 100644 --- a/prova.html +++ b/prova.html @@ -148,7 +148,7 @@ function Extends(sub) var supers = []; thinF = function(){}; - tmp = new thinF(); + inh = new thinF(); console.log("INIZIO EXT"); @@ -175,11 +175,11 @@ function Extends(sub) for( var i=1; i < arguments.length ; i++){ console.log("INIZIO LOOP"); - multi(tmp, arguments[i], false); + multi(inh, arguments[i], false); supers.push(arguments[i].prototype); } - multi(tmp, sub, true); - sub.prototype = tmp; + multi(inh, sub, true); + sub.prototype = inh; } s_ist = new Summo();