pzavolinsky / elmx

A tiny precompiler that takes an Elm program with embedded HTML and desugars the HTML into elm-html syntax. Elmx is to Elm what React's JSX is to Javascript
MIT License
351 stars 11 forks source link

Update examples to Elm 0.17 #5

Closed gelisam closed 8 years ago

gelisam commented 8 years ago

Elm 0.17 changed the way html works quite significantly, so when I saw that the examples were still using Html instead of Html Msg, I was worried. But I worried for nothing: I just tried it and elmx works just fine with Elm 0.17, since it is only the types which changed, not the term-level syntax.

Please update your examples to Elm 0.17 so others don't incorrectly think your tool only works with older versions of Elm!

pzavolinsky commented 8 years ago

Hi @gelisam ,

I've updated the README, the examples and the live cheatsheet (src)

(and incidentally fixed some issues in the Atom plugin).

Thanks for reminding me of this (overdue) update.

Cheers!