The library for web and native user interfaces.
Revise 'live_editor.js' using JSX.
yungsters committed
May 30, 2013 at 11:25 UTC
855c82e224e6057ee569d2f38424a8690260000d
1 file changed
+1
-1
docs/_js/live_editor.js
+1
-1
@@ -113,7 +113,7 @@ var ReactPlayground = React.createClass({
113
try {
114
if (this.props.renderCode) {
115
React.renderComponent(
116
- React.DOM.pre(null, this.getDesugaredCode()),
116
+ <pre>{this.getDesugaredCode()}</pre>,
117
mountNode
118
);
119
} else {