X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=xynt.git;a=blobdiff_plain;f=prova.html;h=07dd60677997e76a9357f8ca77e0e324374aa4e8;hp=bfd3f7d3689b37da4ded7abccf35f4d8c52cb453;hb=0242339d05f97e29df4785ad0234f86370303d42;hpb=b01ecbd33462133657a680f744a170124b5e517d diff --git a/prova.html b/prova.html index bfd3f7d..07dd606 100644 --- a/prova.html +++ b/prova.html @@ -127,6 +127,11 @@ Summo.prototype = { name: "Summo", s_attr: null, + c_func: function() + { + console.log("c_func overwrited"); + }, + s_func: function() { this.a_func(); @@ -153,7 +158,7 @@ function Extends(sub) for (var f in proto) { console.log("LOOP: "+f); - if( f != "constructor" && typeof(proto[f]) == "function" && is_last){ + if( f != "constructor" && typeof(proto[f]) == "function" && !is_last){ console.log("PR: "+proto['name']+" F: "+f); // sub[f] = proto[f]; sub[f] = function(){