projects
/
xynt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0242339
)
renamed tmp var in more explicative inh(erit)
author
Matteo Nastasi
<matteo.nastasi@lucinilucini.com>
Wed, 16 Nov 2011 09:21:40 +0000
(10:21 +0100)
committer
Matteo Nastasi
<matteo.nastasi@lucinilucini.com>
Wed, 16 Nov 2011 09:21:40 +0000
(10:21 +0100)
prova.html
patch
|
blob
|
history
diff --git
a/prova.html
b/prova.html
index
07dd606
..
ccac74a
100644
(file)
--- 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();