Use HTML5 '&' character to connect query params in GitHub API call. #1031.

main
Parker Moore 12 years ago
parent 8fada73b78
commit cc5f508a10

@ -13,7 +13,7 @@ var github = (function(){
return {
showRepos: function(options){
$.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'
, error: function (err) { $(options.target + ' li.loading').addClass('error').text("Error loading feed"); }
, success: function(data) {

Loading…
Cancel
Save