Daniel Lo Nigro
5a6eac6ba2
Small tweaks to HTML to JSX page:
- Remove "Compiled JS" tab since it doesn't make sense
- Relabelled editor to "Live HTML Editor" rather than "Live JSX Editor"
11 years ago
Ben Alpert
1cd3c3e7e9
Add --harmony option to live JSX compiler page
11 years ago
Cheng Lou
8116e9cb38
[Docs] Hide compiled js tab in jsx-compiler.html
Fixes #1049
11 years ago
Ben Alpert
27087a5704
Disable CodeMirror smart indentation
Fixes #966 .
11 years ago
Ben Alpert
dd2dc27184
Simplify live editor execution logic
11 years ago
Ben Alpert
d4553afa1f
Properly clear live editor on JSX compile failure
11 years ago
Cheng Lou
353981f384
docs add jsx->js tab to live editors
11 years ago
Cheng Lou
c0a9df9e5b
docs better error display for live editor and JSX compiler
11 years ago
Ben Alpert
3e8520f9d8
Upgrade codemirror and enable line wrapping
Fixes #678 .
11 years ago
jhiswin
daaed17d12
live_editor.js using deprecated function
unmountAndReleaseReactRootNode -> unmountComponentAtNode
breaks html-jsx.html
11 years ago
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
11 years ago
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.
11 years ago
Cheng Lou
0e18bc2843
make docs jsx compiler highlight transpiled js code
11 years ago
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!
11 years ago
Ben Alpert
8b5822bdf8
Fix all errors and warnings on homepage
Also onChange instead of onInput in two places!
12 years ago
Jeffrey Lin
b72f012fb7
Fix live_editor.js usage of class=
12 years ago
yungsters
01e8f9dff1
Revise 'live_editor.js' using JSX.
12 years ago
yungsters
c63eddc525
Add a JSX Compiler tool.
12 years ago
petehunt
a17b1662b7
Fix live editor on mobile devices
12 years ago
Paul O’Shannessy
eb278167cd
Initial public release
12 years ago