-
-
Save alekpopovic/df24a9e7262d9fb3bd75b0837bb1b56d 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
var user = "hantu"; | |
$(document).ready(function() { | |
$.getJSON("http://github.com/api/v1/json/" + user + "?callback=?", function(data) { | |
$.each(data.user.repositories, function() { | |
$("body").append( | |
"<p><a href=\"" + this.url + "\">" + this.name + "</a></p>" | |
); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment