[Caja] Re: Open Templates in ES3.1 strict (was: Refactoring out unused material)

ihab.awad at gmail.com ihab.awad at gmail.com
Mon Jun 16 20:40:27 PDT 2008


On Mon, Jun 16, 2008 at 8:28 PM, Mike Samuel <mikesamuel at gmail.com> wrote:

> Is there no way to supply an environment to resolve free variables in
> textToEval?
>

Fwiw, is that needed for eval(Template())? My understanding is that, in
either case, free variables are pulled from the local scope, which works in
the literal Function ctor case.

Ihab

-- 
Ihab A.B. Awad, Palo Alto, CA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20080616/2f2834ce/attachment-0002.html 


More information about the Es4-discuss mailing list