Skip to content

Commit

Permalink
Add cache: false to tutorial JS
Browse files Browse the repository at this point in the history
this matches what we do in the actual tutorial
  • Loading branch information
zpao committed May 12, 2015
1 parent a97df5b commit e414ac6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/scripts/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ var CommentBox = React.createClass({
$.ajax({
url: this.props.url,
dataType: 'json',
cache: false,
success: function(data) {
this.setState({data: data});
}.bind(this),
Expand Down

0 comments on commit e414ac6

Please sign in to comment.