>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

Sorry, I meant:

This might _not_ be a problem if LogFactory() were scoped by a global
object (xap) or a descendant (xap.log); if it is, then
        xap.log.LogFactory = function(){...}
...or
        xap.log.LogFactory=null ;
        with (xap.log){
                LogFactory =  function(){...} 
      }

...should stick.

Reply via email to