From: Darin K. <dka...@ef...> - 2000-11-16 20:47:36
|
Of course you'd need to keep a running list of all the files that had already been loaded are not loaded again. Otherwise, you could be making a lot of useless trips to the server :) -----Original Message----- From: Robert Rainwater [mailto:rra...@ya...] Sent: Thursday, November 16, 2000 12:01 PM To: Pascal Bestebroer Subject: Re[3]: [Dynapi-Dev] Default You could have a DynAPI.require method that will add required files. Then when the first file is included, it will include all of the required files. I've done something similar to this before and it worked quite easily. Also, this allows you to set the required files in the widgets. That way if someone wanted to use the button widget, the only file that have to include is the button.js file and all of the others would automatically be included. \\Robert -- rra...@ya... > I think the DynAPi is already very modular, you don't need to use events or > dragging objects. > The only problem we're having is that you need to include dyndocument and > dynlayer, because dynlayers can only be added to dyndocuments.. but the rest > isn't that bad is it? > > Brandon, care to share your ideas ? > > > > Pascal Bestebroer > pb...@oi... > http://www.oibv.com > > _______________________________________________ Dynapi-Dev mailing list Dyn...@li... http://lists.sourceforge.net/mailman/listinfo/dynapi-dev |