Commit Graph

19 Commits

Author SHA1 Message Date
Ben Alpert
1cd3c3e7e9 Add --harmony option to live JSX compiler page 2014-06-28 17:29:30 -07:00
Cheng Lou
8116e9cb38 [Docs] Hide compiled js tab in jsx-compiler.html
Fixes #1049
2014-02-10 23:22:59 -08:00
Ben Alpert
27087a5704 Disable CodeMirror smart indentation
Fixes #966.
2014-01-31 22:10:37 -08:00
Ben Alpert
dd2dc27184 Simplify live editor execution logic 2014-01-17 17:42:53 -08:00
Ben Alpert
d4553afa1f Properly clear live editor on JSX compile failure 2014-01-17 17:42:40 -08:00
Cheng Lou
353981f384 docs add jsx->js tab to live editors 2014-01-17 15:49:59 -08:00
Cheng Lou
c0a9df9e5b docs better error display for live editor and JSX compiler 2014-01-01 19:41:08 -05:00
Ben Alpert
3e8520f9d8 Upgrade codemirror and enable line wrapping
Fixes #678.
2013-12-30 18:06:00 -07:00
jhiswin
daaed17d12 live_editor.js using deprecated function
unmountAndReleaseReactRootNode -> unmountComponentAtNode
breaks html-jsx.html
2013-12-29 09:42:35 -05:00
Vjeux
70941c0354 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:24:22 +01:00
Daniel Lo Nigro
03b64bef0c 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-21 17:44:38 -08:00
Cheng Lou
0e18bc2843 make docs jsx compiler highlight transpiled js code 2013-11-25 19:04:28 -05:00
Paul O’Shannessy
9c8084f396 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 17:56:51 -07:00
Ben Alpert
8b5822bdf8 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
b72f012fb7 Fix live_editor.js usage of class= 2013-05-31 20:50:21 -07:00
yungsters
01e8f9dff1 Revise 'live_editor.js' using JSX. 2013-05-30 11:31:21 -07:00
yungsters
c63eddc525 Add a JSX Compiler tool. 2013-05-30 11:26:36 -07:00
petehunt
a17b1662b7 Fix live editor on mobile devices 2013-05-29 13:24:51 -07:00
Paul O’Shannessy
eb278167cd Initial public release 2013-05-29 12:54:02 -07:00