Use HTML5 '&' character to connect query params in GitHub API call. #1031.
This commit is contained in:
parent
8fada73b78
commit
cc5f508a10
@ -13,7 +13,7 @@ var github = (function(){
|
|||||||
return {
|
return {
|
||||||
showRepos: function(options){
|
showRepos: function(options){
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "https://api.github.com/users/"+options.user+"/repos?sort=pushed;callback=?"
|
url: "https://api.github.com/users/"+options.user+"/repos?sort=pushed&callback=?"
|
||||||
, type: 'jsonp'
|
, type: 'jsonp'
|
||||||
, error: function (err) { $(options.target + ' li.loading').addClass('error').text("Error loading feed"); }
|
, error: function (err) { $(options.target + ' li.loading').addClass('error').text("Error loading feed"); }
|
||||||
, success: function(data) {
|
, success: function(data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user