Browse Source

Fixed incorrect usage of github api in example

more: https://developer.github.com/v3/gists/#detailed-gist-representation
main
Rajiv Tirumalareddy 11 years ago
parent
commit
ec19430f9a
  1. 2
      tips/12-initial-ajax.md

2
tips/12-initial-ajax.md

@ -26,7 +26,7 @@ var UserGist = React.createClass({
$.get(this.props.source, function(result) {
var lastGist = result[0];
this.setState({
username: lastGist.user.login,
username: lastGist.owner.login,
lastGistUrl: lastGist.html_url
});
}.bind(this));

Loading…
Cancel
Save