Skip to content

Commit

Permalink
Revise 'live_editor.js' using JSX.
Browse files Browse the repository at this point in the history
  • Loading branch information
yungsters committed May 30, 2013
1 parent 955b472 commit 855c82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_js/live_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 855c82e

Please sign in to comment.