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

This commit is contained in:
Parker Moore 2013-02-20 17:46:15 +01:00
parent 8fada73b78
commit cc5f508a10

View File

@ -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) {