From 169b172ffc34a95c3bb144be187ff6984bc6afbc Mon Sep 17 00:00:00 2001 From: Cheng Lou Date: Wed, 17 Jul 2013 16:22:30 -0400 Subject: [PATCH 1/3] textarea format --- docs/_js/examples/markdown.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/_js/examples/markdown.js b/docs/_js/examples/markdown.js index ec70b95503..3cd9d6d566 100644 --- a/docs/_js/examples/markdown.js +++ b/docs/_js/examples/markdown.js @@ -11,16 +11,17 @@ var MarkdownEditor = React.createClass({\n\ getInitialState: function() {\n\ return {value: 'Type some *markdown* here!'};\n\ },\n\ - handleInput: React.autoBind(function() {\n\ + handleChange: React.autoBind(function() {\n\ this.setState({value: this.refs.textarea.getDOMNode().value});\n\ }),\n\ render: function() {\n\ return (\n\
\n\

Input

\n\ - \n\ + \n\

Output

\n\ , mountNode);\ "; React.renderComponent( - , + ReactPlayground( {codeText:MARKDOWN_COMPONENT}, null ), document.getElementById('markdownExample') ); From fc6a567e0e3756513fc3d34990ef7a4afd4316ae Mon Sep 17 00:00:00 2001 From: Cheng Lou Date: Wed, 17 Jul 2013 16:25:25 -0400 Subject: [PATCH 2/3] jsx --- docs/_js/examples/markdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_js/examples/markdown.js b/docs/_js/examples/markdown.js index 3cd9d6d566..8f131fbb40 100644 --- a/docs/_js/examples/markdown.js +++ b/docs/_js/examples/markdown.js @@ -38,6 +38,6 @@ React.renderComponent(, mountNode);\ "; React.renderComponent( - ReactPlayground( {codeText:MARKDOWN_COMPONENT}, null ), + , document.getElementById('markdownExample') ); From dd14fdfdc57d9a0dd9eeb10d83daacce77a2aaa3 Mon Sep 17 00:00:00 2001 From: Cheng Lou Date: Wed, 17 Jul 2013 16:28:04 -0400 Subject: [PATCH 3/3] todo fix --- docs/_js/examples/todo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/_js/examples/todo.js b/docs/_js/examples/todo.js index 816820928b..9798cb9fa1 100644 --- a/docs/_js/examples/todo.js +++ b/docs/_js/examples/todo.js @@ -30,8 +30,8 @@ var TodoApp = React.createClass({\n\
\n\

TODO

\n\ \n\ -
\n\ - \n\ + \n\ + \n\ \n\
\n\
\n\