incubator-xap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Turyn" <MTu...@nexaweb.com>
Subject RE: Dojo packaging stuff
Date Tue, 27 Jun 2006 15:42:42 GMT
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.


Mime
View raw message