I suspect that it would be faster to import modules by hand in this 
fashion. The only thing is you would have to make sure you import them 
in the correct order. I think the DynAPI.include probably just make's it 
easier if you are new to the API.



Doug Melvin wrote:

> I see.
> Is there any advantage to using
> DynAPI.include
> over
> <script language="Javascript" src="./js/lib/dynapi/api/browser.js"></script>
> ?
> 
> ----- Original Message -----
> From: "Robert Rainwater" <[EMAIL PROTECTED]>
> To: "DynAPI Help List" <[EMAIL PROTECTED]>
> Sent: Monday, January 29, 2001 1:26 PM
> Subject: Re: [Dynapi-Help] another thing..
> 
> 
> 
>> We aren't loading every file.  addPackage just sets up the package, so
>> when you say:
>> DynAPI.include("dynapi.gui.*")
>> then it knows what files to include.
>> 
>> --
>> // Robert Rainwater
>> 
>> On 1/29/2001, 5:59:01 PM EST, Doug wrote about "[Dynapi-Help] another
> 
> thing..":
> 
>>> I notice the following is STILL in dynapi.js.
>> 
>>> Why are we loading EVERY damned .js file?
>>> No wonder we have a footprint bigger than my own..
>> 
>>> can someone please explain the following to me?
>> 
>>> DynAPI.document=false;
>>> DynAPI.addPackage('dynapi');
>>> 
>> 
> DynAPI.addLibrary('dynapi.api',["browser","dynlayer","dyndocument","events",
> "dragevent"]);
> 
> DynAPI.addLibrary('dynapi.ext',["inline","layer","dragdrop","functions"]);
> 
> DynAPI.addLibrary('dynapi.gui',["button","buttonimage","dynimage","label","l
> ist","loadpanel","pushpanel","scrollbar","scrollpane","sprite","viewport"]);
> 
> DynAPI.addLibrary('dynapi.util',["circleanim","cookies","debug","hoveranim",
> "imganim","pathanim","thread"]);
> 
>>> P.S.
>> 
>>> I do realize that on some occasions I have made myself a target for
>> 
> 'falling rocks'
> 
>>> I just wan to appologize to everyone on the list for my past and future
>> 
> behaviour.
> 
>>> I have an anxiety disorder which causes the smallest problems to have a
>> 
> very large effect on me.
> 
>>> When an apperently small problem persists I can get very angry and start
>> 
> to 'act out' so to speak.
> 
>>> So again, I must appologize to everyone on the list for my past and
>> 
> future behaviour.
> 
>>> Later.
>> 
>> 
>> 
>> 
>> 
>> 
>> ----------------------
>> DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/
>> DynAPI Homepage: http://dynapi.sourceforge.net/
>> 
>> 
>> 
>> _______________________________________________
>> Dynapi-Help mailing list
>> [EMAIL PROTECTED]
>> http://lists.sourceforge.net/lists/listinfo/dynapi-help
> 
> 
> 
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to