Created
February 17, 2009 14:59
-
-
Save hantu/65769 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
Maybe it worked 13 years ago but not now.
Click here to view my working JavaScript.