The genuine global is typically the source of tremendous amounts of
authority. Much of the mechanism of SES is built to deny access to the
genuine global and to non-whitelisted global variables. Can the module
loader API be used to load a module with a different top level binding for
"this"?


On Mon, Jun 9, 2014 at 9:17 AM, Kevin Smith <[email protected]> wrote:

>
> Just another related issue: in Traceur code we use 'this' in modules to
>> mean 'global', because in modules we have no other way to say 'global' in
>> code designed to work in browsers and node.
>>
>
> Right - I do the same.  I think leaving "this" to mean global would be
> just fine:  there's no obvious advantage to changing this aspect of the
> design, this late in the game.  And if there's no obvious advantage, then
> we're just churning.
>
>
>
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
    Cheers,
    --MarkM
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to