Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/util
In directory usw-pr-cvs1:/tmp/cvs-serv30523/src/lib/dynapi/util
Modified Files:
debug.js
Removed Files:
.jspack
Log Message:
Imported DynAPIX
Index: debug.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/util/debug.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** debug.js 2000/12/07 21:31:19 1.3
--- debug.js 2001/03/25 06:04:16 1.4
***************
*** 22,32 ****
return str;
}
! DynLayer.prototype.tree = function(space) {
var ret ='';
! space = space||" ";
! ret += space +"* "+this.id+"\n";
for(i in this.children)
! ret += this.children[i].tree(space+" ");
return ret;
}
! DynDocument.prototype.tree = DynLayer.prototype.tree;
--- 22,34 ----
return str;
}
! DynObject.prototype.tree = function(space) {
var ret ='';
! space = space||".";
! ret += space +" "+this.getDef()+"\n"
for(i in this.children)
! ret += this.children[i].tree(space+" . ."); // JM: With simple spaces
NS6 does not indent (pfff !!!)
return ret;
}
! DynAPIObject.prototype.getDef=function(){return "DynAPI"}
! DynDocument.prototype.getDef=function(){return "DynDocument ( "+this.id+" )"}
! DynLayer.prototype.getDef=function(){return this.id}
--- .jspack DELETED ---
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs