From 9c8084f39661e67c2c851a4318adc0e9f9a2ce66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Wed, 16 Oct 2013 17:56:51 -0700 Subject: [PATCH] Fix live editor examples on home page. Remember that one time I wrote release notes and said: > This is a breaking change - if you were using class, you must change > this to className or your components will be visually broken. Good thing I didn't listen to myself! --- _js/live_editor.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/_js/live_editor.js b/_js/live_editor.js index de005738..818d3b4e 100644 --- a/_js/live_editor.js +++ b/_js/live_editor.js @@ -44,7 +44,7 @@ var CodeMirrorEditor = React.createClass({ } return ( -
+
{editor}
); @@ -76,22 +76,22 @@ var ReactPlayground = React.createClass({ content = ; } else if (this.state.mode === this.MODES.JS) { content = -
+
{this.getDesugaredCode()}
; } return ( -
-
+
+
{content}
-
+
@@ -121,7 +121,7 @@ var ReactPlayground = React.createClass({ } } catch (e) { React.renderComponent( -
, +
, mountNode ); }