Add 'cache: false' to $.ajax when fetching comments
Jon Scott Clark committed
Apr 18, 2015 at 11:11 UTC
90f086efbf3b5c4f831f0f46cfddd2829aed5230
3 files changed
+15
docs/docs/tutorial.ja-JP.md
+5
@@ -397,6 +397,7 @@ var CommentBox = React.createClass({
397
$.ajax({
398
url: this.props.url,
399
dataType: 'json',
400
+ cache: false,
401
success: function(data) {
402
this.setState({data: data});
403
}.bind(this),
@@ -426,6 +427,7 @@ var CommentBox = React.createClass({
427
$.ajax({
428
url: this.props.url,
429
dataType: 'json',
430
+ cache: false,
431
success: function(data) {
432
this.setState({data: data});
433
}.bind(this),
@@ -532,6 +534,7 @@ var CommentBox = React.createClass({
534
$.ajax({
535
url: this.props.url,
536
dataType: 'json',
537
+ cache: false,
538
success: function(data) {
539
this.setState({data: data});
540
}.bind(this),
@@ -600,6 +603,7 @@ var CommentBox = React.createClass({
603
$.ajax({
604
url: this.props.url,
605
dataType: 'json',
606
+ cache: false,
607
success: function(data) {
608
this.setState({data: data});
609
}.bind(this),
@@ -652,6 +656,7 @@ var CommentBox = React.createClass({
656
$.ajax({
657
url: this.props.url,
658
dataType: 'json',
659
+ cache: false,
660
success: function(data) {
661
this.setState({data: data});
662
}.bind(this),
docs/docs/tutorial.ko-KR.md
+5
@@ -398,6 +398,7 @@ var CommentBox = React.createClass({
398
$.ajax({
399
url: this.props.url,
400
dataType: 'json',
401
+ cache: false,
402
success: function(data) {
403
this.setState({data: data});
404
}.bind(this),
@@ -427,6 +428,7 @@ var CommentBox = React.createClass({
428
$.ajax({
429
url: this.props.url,
430
dataType: 'json',
431
+ cache: false,
432
success: function(data) {
433
this.setState({data: data});
434
}.bind(this),
@@ -533,6 +535,7 @@ var CommentBox = React.createClass({
535
$.ajax({
536
url: this.props.url,
537
dataType: 'json',
538
+ cache: false,
539
success: function(data) {
540
this.setState({data: data});
541
}.bind(this),
@@ -601,6 +604,7 @@ var CommentBox = React.createClass({
604
$.ajax({
605
url: this.props.url,
606
dataType: 'json',
607
+ cache: false,
608
success: function(data) {
609
this.setState({data: data});
610
}.bind(this),
@@ -653,6 +657,7 @@ var CommentBox = React.createClass({
657
$.ajax({
658
url: this.props.url,
659
dataType: 'json',
660
+ cache: false,
661
success: function(data) {
662
this.setState({data: data});
663
}.bind(this),
docs/docs/tutorial.md
+5
@@ -395,6 +395,7 @@ var CommentBox = React.createClass({
395
$.ajax({
396
url: this.props.url,
397
dataType: 'json',
398
+ cache: false,
399
success: function(data) {
400
this.setState({data: data});
401
}.bind(this),
@@ -424,6 +425,7 @@ var CommentBox = React.createClass({
425
$.ajax({
426
url: this.props.url,
427
dataType: 'json',
428
+ cache: false,
429
success: function(data) {
430
this.setState({data: data});
431
}.bind(this),
@@ -530,6 +532,7 @@ var CommentBox = React.createClass({
532
$.ajax({
533
url: this.props.url,
534
dataType: 'json',
535
+ cache: false,
536
success: function(data) {
537
this.setState({data: data});
538
}.bind(this),
@@ -598,6 +601,7 @@ var CommentBox = React.createClass({
601
$.ajax({
602
url: this.props.url,
603
dataType: 'json',
604
+ cache: false,
605
success: function(data) {
606
this.setState({data: data});
607
}.bind(this),
@@ -650,6 +654,7 @@ var CommentBox = React.createClass({
654
$.ajax({
655
url: this.props.url,
656
dataType: 'json',
657
+ cache: false,
658
success: function(data) {
659
this.setState({data: data});
660
}.bind(this),