Browse Source

console.log -> console.error

main
Ivan Kozik 11 years ago
parent
commit
91a049a45e
  1. 2
      docs/tutorial.md

2
docs/tutorial.md

@ -388,7 +388,7 @@ var CommentBox = React.createClass({
this.setState({data: data});
}.bind(this),
error: function(xhr, status, err) {
console.log("comments.json", status, err.toString());
console.error("comments.json", status, err.toString());
}.bind(this)
});
return {data: []};

Loading…
Cancel
Save