Module Comments

Kevin Smith khs4473 at gmail.com
Sat Dec 8 17:10:32 PST 2012


So if you didn't set the anonymous binding in some module "x.js", what
would this do:

    import x from "x.js";

Would x be bound to the module instance or would we get a binding error?

For module naming, we'd need to have a different syntax. In earlier
> versions of the proposal that was
>
>   module x at "url"
>

Or:

    import module x from "url";

Has a nice ring.

- Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121208/608189d7/attachment.html>


More information about the es-discuss mailing list