There will be one syntax change from that version - I'm reverting back to using DynAPI.onLoad in favor of DynAPI.document.onLoad. Reason being I'm finishing up a new script include and dynamic loader that will completely replace the package system. It will be possible to load all the core files on the fly, or include them as previously, and have proper dependency handling. But in order to load the core files on the fly we can't require that "DynAPI.document" is always present (whereas the "DynAPI" has to be).
So the load syntax will be changed from DynAPI.onLoad = function(){} to DynAPI.onLoad(function(){}) and not DynAPI.document.onLoad() as I previously had it. The new syntax for loading objects will be this: DynAPI.library.add('MyObject','myobject2.js',['RequiredObject1',RequiredObject2']); DynAPI.library.load('MyObject', handler); // loads on the fly asynchronously DynAPI.library.include('MyObject'); // writes <script> as it does currently I haven't fully fleshed it all out yet though. For the library loader I ended up going with the createElement('script') solution for IE, it just wasn't working with iframes because IE destroys the objects when a second file is loaded into it. If you catch any bugs in the version posted, please mark your fix clearly in your copy and wait for when my verison goes into CVS - or if it's simple just email me ([EMAIL PROTECTED]). Cheers, Dan Steinman On Wed, Jan 02, 2002 at 08:53:38PM -0500, Robert Rainwater wrote: > While you are waiting, now would be a good time to bang out any bugs in the > version I posted the other day. The syntax shouldn't change from the final > released version. > > Robert > > Happy New Year Everyone! > > > > It has been very quite around here since lately. I > > guess we're all waiting on the beta release of DynAPI > > 3.0 (or 2.whatever!).... me too! > > > > All the best for 2002. > > > > -- > > Raymond > > > > __________________________________________________ > > Do You Yahoo!? > > Send your FREE holiday greetings online! > > http://greetings.yahoo.com > > > > _______________________________________________ > > Dynapi-Dev mailing list > > [EMAIL PROTECTED] > > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/ > > > > _______________________________________________ > Dynapi-Dev mailing list > [EMAIL PROTECTED] > http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/ _______________________________________________ Dynapi-Dev mailing list [EMAIL PROTECTED] http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/