The library for web and native user interfaces.
Fix live_editor.js usage of class=
Jeffrey Lin committed
May 31, 2013 at 20:50 UTC
a78f752143cc8f54647df4ee0ea4e5e0c31ebd58
1 file changed
+2
-2
docs/_js/live_editor.js
+2
-2
@@ -81,7 +81,7 @@ var ReactPlayground = React.createClass({
81
/>;
82
} else if (this.state.mode === this.MODES.JS) {
83
content =
84
- <div class={{playgroundJS: true, playgroundStage: true}}>
84
+ <div class="playgroundJS playgroundStage">
85
{this.getDesugaredCode()}
86
</div>;
87
}
@@ -121,7 +121,7 @@ var ReactPlayground = React.createClass({
121
}
122
} catch (e) {
123
React.renderComponent(
124
- <div content={e.toString()} class={{playgroundError: true}} />,
124
+ <div content={e.toString()} class="playgroundError" />,
125
mountNode
126
);
127
}