6 ms·
I kind of wish this was posted tomorrow in the morning so a lot more people would see it. It's crucially important for JavaScript.
by jlongster 12y ago
I kind of wish this was posted tomorrow in the morning so a lot more people would see it. It's crucially important for JavaScript.
- roryokane 12y agoAccording to http://kangax.github.io/compat-table/es6/ http://kangax.github.io/compat-table/es6/, absolutely no browsers support JavaScript Modules yet; only the Traceur compiler[1] and EchoJS compiler[2] do. I would not call this feature “crucially important” yet. [1] https://github.com/google/traceur-compiler https://github.com/google/traceur-compiler [2] https://github.com/toshok/echo-js https://github.com/toshok/echo-js
- ollysb 12y agoThe ember community has really embraced ES6 modules and now with the introduction of broccoli[1] and the broccoli-es6-transpiler[2] it's really easy to start using modules and the other ES6 features right now. If you're already using SASS or Less then an ES6 transpiler seems like a natural next step. [1] https://github.com/broccolijs/broccoli https://github.com/broccolijs/broccoli [2] https://github.com/sindresorhus/broccoli-es6-transpiler https://github.com/sindresorhus/broccoli-es6-transpiler
- couchand 12y ago...and if you're already using browserify this seems like a natural step backwards.
- jlongster 12y agoBesides the points made by the sibling comment, this feature is crucially important to JavaScript. It hasn't been implemented yet because the spec itself is just now being finalized. This page was made in an effort to spread the word about the upcoming modules, which people really need to see now and understand because it's going to be a big change. I don't see how it still can't be crucially important.
- kybernetikos 12y agoIncluding three script tags into your page - traceur, es6-module-loader and systemjs lets you use all this today.
- steveklabnik 12y agoSounds very-US centric ;) A lot of Europeans will hopefully learn about it too!
- jlongster 12y agoGood point, hadn't thought about that. Glad it's getting views! :)
- wereHamster 12y agoIt is morning, 6:22am to be exact. Not all developers live in the US.
- baddox 12y agoAnd I suspect far fewer live in your time zone.
- wereHamster 12y agoMore than in the US. More people live in the timezones around zero than in the US timezones. Source: http://artscience.cyberclip.com/world-population-by-time-zone http://artscience.cyberclip.com/world-population-by-time-zon....