Update of /cvsroot/dynapi/dynapi/src
In directory usw-pr-cvs1:/tmp/cvs-serv19025
Modified Files:
dynapi.js
Log Message:
Fixed the include() method for IE4.. the specified parameter path would cause
problems because of a local variable path in the function itself (strange, but fixed)
Index: dynapi.js
===================================================================
RCS file: /cvsroot/dynapi/dynapi/src/dynapi.js,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** dynapi.js 2001/02/08 08:42:37 1.17
--- dynapi.js 2001/02/09 15:20:54 1.18
***************
*** 105,112 ****
else DynAPI.plugins[DynAPI.plugins.length] = plugin;
},
! include : function(src,path) {
src=src.split('.');
if (src[src.length-1] == 'js') src.length -= 1;
! var path=path||DynAPI.librarypath||'';
if (path.substr(path.length-1) != "/") path += "/";
var pckg=src[0];
--- 105,112 ----
else DynAPI.plugins[DynAPI.plugins.length] = plugin;
},
! include : function(src,pth) {
src=src.split('.');
if (src[src.length-1] == 'js') src.length -= 1;
! var path=pth||DynAPI.librarypath||'';
if (path.substr(path.length-1) != "/") path += "/";
var pckg=src[0];
_______________________________________________
Dynapi-CVS mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-cvs