Skip to content

Commit

Permalink
fix github.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffknupp committed Jul 20, 2012
1 parent 823c183 commit 186e25f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions static/javascripts/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ var github = (function(){
return {
showRepos: function(options){
$.ajax({
url: "https://api.github.com/users/"+options.user+"/repos/?callback=?"
, type: 'jsonp'
url: "https://api.github.com/users/"+options.user+"/repos
, error: function (err) { $(options.target + ' li.loading').addClass('error').text("Error loading feed"); }
, success: function(data) {
var repos = [];
Expand Down

0 comments on commit 186e25f

Please sign in to comment.