Browse Source

Fix live_editor.js usage of class=

main
Jeffrey Lin 12 years ago
parent
commit
b72f012fb7
  1. 4
      _js/live_editor.js

4
_js/live_editor.js

@ -81,7 +81,7 @@ var ReactPlayground = React.createClass({
/>;
} else if (this.state.mode === this.MODES.JS) {
content =
<div class={{playgroundJS: true, playgroundStage: true}}>
<div class="playgroundJS playgroundStage">
{this.getDesugaredCode()}
</div>;
}
@ -121,7 +121,7 @@ var ReactPlayground = React.createClass({
}
} catch (e) {
React.renderComponent(
<div content={e.toString()} class={{playgroundError: true}} />,
<div content={e.toString()} class="playgroundError" />,
mountNode
);
}

Loading…
Cancel
Save