mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
Fix live_editor.js usage of class=
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user