projects
/
xynt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
some debugging statements removed
[xynt.git]
/
xynt-base.js
diff --git
a/xynt-base.js
b/xynt-base.js
index
f74baa5
..
8c39a28
100644
(file)
--- a/
xynt-base.js
+++ b/
xynt-base.js
@@
-7,7
+7,7
@@
function Extends(sub)
inh.xynt_sup = [];
inh.xynt_sup_cl = [];
inh.xynt_sup = [];
inh.xynt_sup_cl = [];
- console.log("
INIZIO EX
T");
+ console.log("
EXT STAR
T");
var multi = function(sub, super, is_last)
{
var multi = function(sub, super, is_last)
{
@@
-19,10
+19,11
@@
function Extends(sub)
console.log("LOOP: "+f);
if( f != "constructor" && typeof(proto[f]) == "function" && !is_last){
console.log("LOOP: "+f);
if( f != "constructor" && typeof(proto[f]) == "function" && !is_last){
- console.log("M_FU: "+proto[
'name'
]+" F: "+f);
+ console.log("M_FU: "+proto[
f
]+" F: "+f);
// sub[f] = proto[f];
// sub[f] = proto[f];
- sub[f] = function(){
- console.log("INFU PR: " + proto['name'] + " FUNC: "+f+" THIS: " + this);
+ sub[f] = function() {
+ // console.log("INFU PR: " + proto[f] + " FUNC: "+f+" THIS: " + this);
+ console.log("SIMPLE LOG");
return proto[f].apply(this,arguments);
}
}
return proto[f].apply(this,arguments);
}
}
@@
-62,8
+63,7
@@
function Extends(sub)
*/
sub.prototype = inh;
*/
sub.prototype = inh;
- console.log(sub.prototype.xynt_sup);
- console.log(sub.prototype.xynt_sup_cl);
+ console.log("EXT FINISH");
}
function ExtendsInst(sub)
}
function ExtendsInst(sub)
@@
-152,7
+152,8
@@
function ExtendsInst(sub)
function show_class(cl) {
console.log("Attributes Class of "+cl);
for (f in cl.prototype) {
function show_class(cl) {
console.log("Attributes Class of "+cl);
for (f in cl.prototype) {
- console.log(f+": ["+cl.prototype[f]+"]");
+ console.log(f+"-v");
+ console.log(cl.prototype[f]);
}
console.log("---");
}
}
console.log("---");
}
@@
-160,7
+161,8
@@
function show_class(cl) {
function show_inst(inst) {
console.log("Attributes Instance of "+inst);
for (f in inst) {
function show_inst(inst) {
console.log("Attributes Instance of "+inst);
for (f in inst) {
- console.log("["+f+"]: ["+inst[f]+"]");
+ console.log(f+"-v");
+ // console.log(inst[f]);
}
console.log("---");
}
}
console.log("---");
}