diff --git a/_js/examples/markdown.js b/_js/examples/markdown.js index ec4363f56..ec70b9550 100644 --- a/_js/examples/markdown.js +++ b/_js/examples/markdown.js @@ -11,14 +11,14 @@ var MarkdownEditor = React.createClass({\n\ getInitialState: function() {\n\ return {value: 'Type some *markdown* here!'};\n\ },\n\ - handleKeyUp: React.autoBind(function() {\n\ + handleInput: React.autoBind(function() {\n\ this.setState({value: this.refs.textarea.getDOMNode().value});\n\ }),\n\ render: function() {\n\ return (\n\