mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-15 13:45:00 -05:00
Fixed GitHub jsonp call. Closed #1118
This commit is contained in:
parent
4157cda54c
commit
c35ff7b660
@ -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 = [];
|
||||
|
Loading…
Reference in New Issue
Block a user