Created
July 20, 2015 13:49
-
-
Save caitlinhall/bebee0b5cef0e76e88a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This Ajax call gets data back from your GitHub account. | |
$.ajax({ | |
type: 'GET', | |
url: 'https://api.github.com/users/' + github_name, | |
dataType: 'jsonp', | |
success: function(json) { | |
github = json.data; | |
githubHtml(json); | |
}, | |
error: function(error) { | |
console.log(error); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment