How to ensure that your script runs first in a webpage

David Bruant bruant.d at gmail.com
Sat Feb 4 10:02:11 PST 2012


Le 04/02/2012 18:14, Mark S. Miller a écrit :
> c) The ES6 module loader should make all these with-games unnecessary
> anyhow, since it gives us a principled approach for controlling the
> top level scope of untrusted code. Long term, this is the real answer.
Ok, good to know.
Can you show how "eval(string, lexEnv)" example would look like with
module loaders? The proposal [1] (and the entire web?) lacks a bit of
examples.

Thanks,

David

[1] http://wiki.ecmascript.org/doku.php?id=harmony:module_loaders


More information about the es-discuss mailing list