Skip to content

Commit ebff2bc

Browse files
committed
Merge pull request #36 from jeffreylin/master
Fix live_editor.js usage of class=
2 parents a70d567 + a78f752 commit ebff2bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/_js/live_editor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ var ReactPlayground = React.createClass({
8181
/>;
8282
} else if (this.state.mode === this.MODES.JS) {
8383
content =
84-
<div class={{playgroundJS: true, playgroundStage: true}}>
84+
<div class="playgroundJS playgroundStage">
8585
{this.getDesugaredCode()}
8686
</div>;
8787
}
@@ -121,7 +121,7 @@ var ReactPlayground = React.createClass({
121121
}
122122
} catch (e) {
123123
React.renderComponent(
124-
<div content={e.toString()} class={{playgroundError: true}} />,
124+
<div content={e.toString()} class="playgroundError" />,
125125
mountNode
126126
);
127127
}

0 commit comments

Comments
 (0)