diff --git a/static/javascripts/github.js b/static/javascripts/github.js index fbea4a1..15dd4f6 100644 --- a/static/javascripts/github.js +++ b/static/javascripts/github.js @@ -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 = [];