Merge pull request #2156 from simonwelsh/patch-1

Correct highlighted block
This commit is contained in:
Cheng Lou
2014-10-20 16:20:35 -07:00
committed by Paul O’Shannessy
parent c50a9b6d1c
commit 5bfae83a30
+1 -1
View File
@@ -478,7 +478,7 @@ var CommentForm = React.createClass({
Let's make the form interactive. When the user submits the form, we should clear it, submit a request to the server, and refresh the list of comments. To start, let's listen for the form's submit event and clear it.
```javascript{3-13,16-18}
```javascript{3-14,17-19}
// tutorial16.js
var CommentForm = React.createClass({
handleSubmit: function(e) {