Commit Graph

15 Commits

Author SHA1 Message Date
Cheng Lou 8d37f7d373 docs better error display for live editor and JSX compiler 2014-01-02 21:05:27 +01:00
Ben Alpert 32753c59d4 Upgrade codemirror and enable line wrapping
Fixes #678.
2013-12-31 05:58:46 +01:00
jhiswin 4b7eb66b31 live_editor.js using deprecated function
unmountAndReleaseReactRootNode -> unmountComponentAtNode
breaks html-jsx.html
2013-12-30 19:57:41 +01:00
Vjeux 219f25c812 Fix html-jsx compiler
It changed React Playground to add a required props but unfortunately didn't update the call sites of the front-page. I don't think it should be required so I'm just making it optional and providing the correct default value.

Test Plan:
 - Open the front page and make sure examples are working
 - Open /react/jsx-compiler.html and make sure it is working
 - Open /react/html-jsx.html and make sure it is working
2013-12-23 18:32:13 +01:00
Daniel Lo Nigro c7a915993e Simple HTML to JSX converter, built during Hackathon 40 at Facebook.
See /react/html-jsx.html. Not directly linked from the site yet as there may still be some minor issues with it.
2013-12-23 18:32:04 +01:00
Vjeux b95fee3c0b Revert "Simple HTML to JSX converter, built during Hackathon 40 at Facebook."
This reverts commit 2308f95316.
2013-12-23 07:01:12 +01:00
Daniel Lo Nigro 2308f95316 Simple HTML to JSX converter, built during Hackathon 40 at Facebook.
See /react/html-jsx.html. Not directly linked from the site yet as there may still be some minor issues with it.
2013-12-23 06:14:39 +01:00
Cheng Lou 18a6b0b94b make docs jsx compiler highlight transpiled js code 2013-12-02 15:10:12 -08:00
Paul O’Shannessy ba166b9652 Fix live editor examples on home page.
Remember that one time I wrote release notes and said:

> This is a breaking change - if you were using class, you must change
> this to className or your components will be visually broken.

Good thing I didn't listen to myself!
2013-10-16 18:11:10 -07:00
Ben Alpert e379f8ec03 Fix all errors and warnings on homepage
Also onChange instead of onInput in two places!
2013-07-17 13:31:52 -07:00
Jeffrey Lin a78f752143 Fix live_editor.js usage of class= 2013-05-31 20:50:21 -07:00
yungsters 855c82e224 Revise 'live_editor.js' using JSX. 2013-05-30 11:31:21 -07:00
yungsters 955b472f8b Add a JSX Compiler tool. 2013-05-30 11:26:36 -07:00
petehunt e20747ef9b Fix live editor on mobile devices 2013-05-29 13:24:51 -07:00
Paul O’Shannessy 75897c2dcd Initial public release 2013-05-29 12:54:02 -07:00