Skip to content

Commit

Permalink
Fixed GitHub jsonp call. Closed imathis#1118
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Mar 10, 2013
1 parent 4157cda commit c35ff7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .themes/classic/source/javascripts/github.js
Expand Up @@ -14,7 +14,7 @@ var github = (function(){
showRepos: function(options){
$.ajax({
url: "https://api.github.com/users/"+options.user+"/repos?sort=pushed&callback=?"
, type: 'jsonp'
, dataType: 'jsonp'
, error: function (err) { $(options.target + ' li.loading').addClass('error').text("Error loading feed"); }
, success: function(data) {
var repos = [];
Expand Down

0 comments on commit c35ff7b

Please sign in to comment.