Browse Source

Highlighting the correct line

main
Paul Seiffert 12 years ago
parent
commit
2e0837a574
  1. 2
      docs/tutorial.md

2
docs/tutorial.md

@ -501,7 +501,7 @@ When a user submits a comment, we will need to refresh the list of comments to i
We need to pass data from the child component to its parent. We do this by passing a `callback` in props from parent to child: We need to pass data from the child component to its parent. We do this by passing a `callback` in props from parent to child:
```javascript{13-15,30} ```javascript{13-15,32}
// tutorial17.js // tutorial17.js
var CommentBox = React.createClass({ var CommentBox = React.createClass({
loadCommentsFromServer: function() { loadCommentsFromServer: function() {

Loading…
Cancel
Save