Re: [Dynapi-Dev] Advanced include method

2001-02-23 Thread Michael Pemberton
] > > [mailto:[EMAIL PROTECTED]]Namens Michael > > Pemberton > > Verzonden: vrijdag 23 februari 2001 4:35 > > Aan: [EMAIL PROTECTED] > > Onderwerp: [Dynapi-Dev] Advanced include method > > > > > > The following is a modified version of the DynAP

RE: [Dynapi-Dev] Advanced include method

2001-02-23 Thread Pascal
l > Pemberton > Verzonden: vrijdag 23 februari 2001 4:35 > Aan: [EMAIL PROTECTED] > Onderwerp: [Dynapi-Dev] Advanced include method > > > The following is a modified version of the DynAPI.include method. > > include : function(src,path) { > src=src.split(

[Dynapi-Dev] Advanced include method

2001-02-23 Thread Michael Pemberton
The following is a modified version of the DynAPI.include method. include : function(src,path) { src=src.split('.'); if (src[src.length-1] == 'js') src.length--; var pckg=src[0], grp=src[1], file=src[2], path=path||DynAPI.librarypath||''; if (path.substr(path.l