detecting JS language mode for tools

Kevin Smith zenparsing at gmail.com
Fri Jan 24 13:26:05 PST 2014


> I'm perfectly happy with convention of some kind:
> a) a file extension
> b) a comment on the first line of the file:
>   // module mymodule
> c) a "use strict" style annotation that is just documentation:
>   "module mymodule";
>
>
One of the nicest things about the current modules syntax is that it avoids
annoying boilerplate.  Let's have none of that  : )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140124/8bc717d4/attachment.html>


More information about the es-discuss mailing list