Shepherd.js - Implementing Harmony modules for today's browsers

Rick Waldron waldron.rick at
Thu Apr 19 12:46:39 PDT 2012

On Thu, Apr 19, 2012 at 9:11 AM, Russell Leggett
<russell.leggett at>wrote:

> [snip]
> Support is coming. I look at it this way. Some day relatively soon, ES6
> modules will be in node. Soon after that they will start showing up in
> browsers. Over the course of the next year, I bet you'll see module support
> in at least firefox and chrome.

In Chrome Canary, with Harmony flag enabled...

module Foo {}

(Foo in this); // true


But, Foo is still undefined.


>  If you set your sights on full modules now, you'll have code that doesn't
> need to be rewritten a year from now. A polyfill will happen, do you want
> to write it?
> - Russ
> [snip]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list