Skip to content

Commit

Permalink
Merge pull request reactjs#66 from slava-sh/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
zpao committed Aug 3, 2015
2 parents f185fe8 + 72c4e7a commit 3eacbb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/scripts/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ var CommentBox = React.createClass({
comments.push(comment);
this.setState({data: comments}, function() {
// `setState` accepts a callback. To avoid (improbable) race condition,
// `we'll send the ajax request right after we optimistically set the new
// `state.
// we'll send the ajax request right after we optimistically set the new
// state.
$.ajax({
url: this.props.url,
dataType: 'json',
Expand Down

0 comments on commit 3eacbb2

Please sign in to comment.