Browse files

put newest github repo to the top

  • Loading branch information...
1 parent 163dc91 commit 5176e0b8fb56b7f925c4d6aa956fbdf1e8d1cd60 @enriquez committed Jul 2, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascripts/application.js
View
2 javascripts/application.js
@@ -55,7 +55,7 @@ function GitHubAPI(){}
GitHubAPI.Repos = function(username, callback){
requestURL = "http://github.com/api/v2/json/repos/show/" + username + "?callback=?";
$.getJSON(requestURL, function(json, status){
- callback(json.repositories, status);
+ callback(json.repositories.reverse(), status);
});
}

0 comments on commit 5176e0b

Please sign in to comment.