+ var single = function(sub, fun) {
+ var cur_fun = fun;
+
+ sub[cur_fun] = function(){
+ // console.log("INFU PR: " + proto[f] + " FUNC: "+f+" THIS: " + this);
+ console.log("SIMPLE LOG INST: "+cur_fun);
+ console.log(proto[cur_fun]);
+ console.log(sub);
+ console.log(arguments);
+ return proto[cur_fun].apply(this, arguments);
+ }
+ };
+