domenic / html-as-custom-elements

HTML as Custom Elements
https://domenic.github.io/html-as-custom-elements/
Apache License 2.0
260 stars 20 forks source link

Consider stooping down to ES5. #26

Closed dglazkov closed 9 years ago

dglazkov commented 10 years ago

Given that Blink is rapidly traveling down the path of actually implementing HTML elements as custom elements, we should consider removing traceur :cry: and just using yer grandfather's JS, so then we could be a downstream for Blink.

Another idea is to just port this project to Blink and continue work there.

// cc @abarth

abarth commented 10 years ago

The ideal thing for Blink at this moment would be ES5 with AMD as the module system. We have a simple AMD implementation in Chromium via gin, which we'll probably want to use in Blink-in-JS land so that we can interface with Mojo.

We want to eventually move to ES6 modules, but we're not that far in the future.

domenic commented 9 years ago

I think this project should explore an alternative avenue. The Blink-in-JS work seems to be moving further and further away from actual custom elements, in favor of the binding layer. As such I don't think integration concerns are what we should be worried about.

In any case, we can always use the Traceur output in such a project, instead of the raw source files.

dglazkov commented 9 years ago

Ok. We still need to figure a path to converge the two.