From 86098c137fa74dc3d2b59032c71c0d1e025e6080 Mon Sep 17 00:00:00 2001 From: Frankie Bagnardi Date: Thu, 29 May 2014 09:57:02 -0400 Subject: [PATCH 1/2] add 'cache: false,' to tutorial --- docs/docs/tutorial.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md index 9d40f00aef1..18a63222a78 100644 --- a/docs/docs/tutorial.md +++ b/docs/docs/tutorial.md @@ -388,6 +388,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this), From ec6479135ba94ba4442a04d8110baca874bd902f Mon Sep 17 00:00:00 2001 From: Frankie Bagnardi Date: Mon, 7 Jul 2014 16:21:21 -0700 Subject: [PATCH 2/2] docs/tutorial added inline comment and other cache:false --- docs/docs/tutorial.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/docs/tutorial.md b/docs/docs/tutorial.md index 18a63222a78..e1aebc500b2 100644 --- a/docs/docs/tutorial.md +++ b/docs/docs/tutorial.md @@ -388,7 +388,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', - cache: false, + cache: false, // needed for SimpleHTTPServer success: function(data) { this.setState({data: data}); }.bind(this), @@ -418,6 +418,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this), @@ -527,6 +528,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this), @@ -597,6 +599,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this), @@ -651,6 +654,7 @@ var CommentBox = React.createClass({ $.ajax({ url: this.props.url, dataType: 'json', + cache: false, success: function(data) { this.setState({data: data}); }.bind(this),