Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.getJSON(
- 'https://api.github.com/repos/Automattic/_s/contributors?callback=?'
- function( data ) {
- $.each( data, function( i, user ) {
- var html = '<li><a href="https://github.com/' + user.login;
- html += '" title="@' + user.login + ' with ' + user.contributions;
- html += ' contributions">';
- html += '<img src="https://secure.gravatar.com/avatar/' + user.gravatar_id;
- html += 'd=https://secure.gravatar.com/avatar/';
- html += 'ad516503a11cd5ca435acc9bb6523536?s=64"></a></li>';
- $( '#team' ).append( html );
- } );
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement