dillon1000/react

Commit

Add harmony transform support in browser (Fixes GH-1420)

I implemented this by checking for `type="text/jsx;harmony"`, since this
has a bit of a cleaner implementation rather than parsing a JSON object
out of a data attribute. If in the future there are other options to
pass, it would make sense to move to a system like that.

Along with adding support, there is also a new example added that's
the basic-jsx example with Harmony syntax.
Browse files
Changed paths2 files
First-parent comparison
A examples/basic-jsx-harmony/index.html AddedM vendor/browser-transforms.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…