Permalink
Browse files

new homepage

  • Loading branch information...
1 parent 7e012c0 commit a14601593a1ebfc13ede0fea5bc2b834c7fdfae6 @thomasdavis committed Oct 5, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 index.html
View
@@ -165,8 +165,9 @@ <h2 style="line-height: 80px;"><a href="<%= org.url %>"><%= org.login %></a></h2
} );
var displayProfile = function (username) {
- $.ajax('https://api.github.com/users/' + username, {
+ $.ajax('https://api.github.com/users/' + username + '?callback=?', {
crossDomain: true,
+ dataType: "jsonp",
success: function (user) {
console.log(user);
$('.profile').html(_.template($('#profile-template').html(), {user: user}));

0 comments on commit a146015

Please sign in to comment.