In this case there isn't any relation between LogFactory() and xap other
than the call to eval in indirectly called from a Xap method. I'm not
100% sure why this is a problem exactly.

James Margaris

-----Original Message-----
From: Michael Turyn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 27, 2006 11:43 AM
To: [email protected]
Subject: RE: Dojo packaging stuff

James wrote:
[...]
>function LogFactory(){}
>vs.
>LogFactory = function(){}
>
>When you eval() the second one you can use LogFactory later. When you
eval the first one a call to LogFactory >later gives you symbol
undefined. 
>

Is this a problem when all functions are scoped by something owned by
[something owned by| [...] ] the "xap" object?



========================================================
M. Turyn
Software Engineer, Nexaweb Inc.

Reply via email to