From 8631f209d00a0f109c46094fec18ffdba050d81b Mon Sep 17 00:00:00 2001 From: Maxime Poulin Date: Wed, 30 Jul 2014 13:15:39 -0400 Subject: [PATCH] Fixed an issue in the tutorial that was preventing the polling of comments.json to work properly because of it was cached. --- docs/docs/tutorial.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md index 9be7e427241ba..1c70960c911ae 100644 --- a/docs/docs/tutorial.md +++ b/docs/docs/tutorial.md @@ -419,6 +419,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this), @@ -524,6 +525,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this), @@ -588,6 +590,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this), @@ -640,6 +643,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this),