detecting JS language mode for tools

Kevin Smith zenparsing at
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: <>

More information about the es-discuss mailing list