Remarks about module import

Brendan Eich brendan at mozilla.org
Mon Aug 18 17:17:38 PDT 2008


On Aug 18, 2008, at 5:02 PM, ihab.awad at gmail.com wrote:

> That said, we in Caja land have worried about
> whether *some* default global properties should be made available --
> objects that are essentially powerless like Function and Number, and
> which would be a pain in the neck to have to explicitly pass down to
> subordinate modules every time with every "importModule" statement.

Why couldn't they be imported from a standard module? Must everything  
be passed down? Maybe in Caja, but I don't see that as a requirement  
on successor ES standards.

/be


More information about the Es-discuss mailing list