mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Fix highlighting
This commit is contained in:
1 parent
8fc4f23cdb
commit
62213e08df
1 file changed
+1
-1
@@ -482,7 +482,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-14,17-20}
|
||||
```javascript{3-13,16-19}
|
||||
// tutorial16.js
|
||||
var CommentForm = React.createClass({
|
||||
handleSubmit: function(e) {
|
||||
|
||||
Reference in new issue
Block a user