Guest User

Untitled

a guest
Aug 16th, 2012
298
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $.getJSON(
  2.     'https://api.github.com/repos/Automattic/_s/contributors?callback=?'
  3.     function( data ) {
  4.         $.each( data, function( i, user ) {
  5.             var html = '<li><a href="https://github.com/' + user.login;
  6.             html += '" title="@' + user.login + ' with ' + user.contributions;
  7.             html += ' contributions">';
  8.             html += '<img src="https://secure.gravatar.com/avatar/' + user.gravatar_id;
  9.             html += 'd=https://secure.gravatar.com/avatar/';
  10.             html += 'ad516503a11cd5ca435acc9bb6523536?s=64"></a></li>';
  11.                
  12.             $( '#team' ).append( html );
  13.         } );
  14.     }
  15. );
RAW Paste Data