(function(f,e,a,g){f.jribbble={};var d=function(j,i){f.ajax({type:"GET",url:"http://api.dribbble.com"+j,data:i[1]||{},dataType:"jsonp",success:function(k){if(typeof(k)==="undefined"){i[0]({error:true})}else{i[0](k)}}})};var c={getShotById:"/shots/$/",getReboundsOfShot:"/shots/$/rebounds/",getShotsByList:"/shots/$/",getShotsByPlayerId:"/players/$/shots/",getShotsThatPlayerFollows:"/players/$/shots/following/",getPlayerById:"/players/$/",getPlayerFollowers:"/players/$/followers/",getPlayerFollowing:"/players/$/following/",getPlayerDraftees:"/players/$/draftees/",getCommentsOfShot:"/shots/$/comments/",getShotsThatPlayerLikes:"/players/$/shots/likes/"};var b=function(i){return function(){var k=[].slice.call(arguments),j=i.replace("$",k.shift());d(j,k)}};for(var h in c){f.jribbble[h]=b(c[h])}})(jQuery,window,document);