Browse Source

Revise 'live_editor.js' using JSX.

main
yungsters 12 years ago
parent
commit
01e8f9dff1
  1. 2
      _js/live_editor.js

2
_js/live_editor.js

@ -113,7 +113,7 @@ var ReactPlayground = React.createClass({
try {
if (this.props.renderCode) {
React.renderComponent(
React.DOM.pre(null, this.getDesugaredCode()),
<pre>{this.getDesugaredCode()}</pre>,
mountNode
);
} else {

Loading…
Cancel
Save