On Dec 5, 2012, at 11:05 PM, Herby Vojčík <he...@mailbox.sk> wrote:
>>> import x from "goo"; >> >> Already taken. You can't use one syntax to mean two things. > > I don't. These were included to show the two syntaxes (existing from and > proposed instead-of-as grouped together; to see how they look mixed). Ah, my misunderstanding, thanks for clarifying. >>> import ga for "ga"; >> >> That doesn't have any correspondence to its meaning in English. > > It does. import ga for (the whole module) "ga". > Alternative was `import ga for module "ga";`. It doesn't work, at least not with the verb "import." What you're trying to say is "import the module 'ga' with the name ga as its local binding." You're not importing the *binding itself*. Dave _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss