/**
 * jQuery Plugin "jribbble" 0.9.1
 * Author: Tyler Gaw - http://tylergaw.com
 * A jQuery plugin to fetch data from the Dribbble API - http://dribbble.com/api
 */
(function(a){a.fn.jribbble=function(){this.makeRequest=function(c,b,d){a.ajax({data:d,dataType:"jsonp",success:function(e){a.isFunction(b)&&b(e)},type:"GET",url:a.jribbble.baseUrl+c})};return this};a.jribbble={};a.jribbble.baseUrl="http://api.dribbble.com/";a.jribbble.getShotById=function(c,b){a.fn.jribbble().makeRequest("shots/"+c,b)};a.jribbble.getShotsByList=function(c,b,d){a.fn.jribbble().makeRequest("shots/"+c,b,d)};a.jribbble.getShotsByPlayerId=function(c,b,d){a.fn.jribbble().makeRequest("players/"+
c+"/shots",b,d)};a.jribbble.getShotsThatPlayerFollows=function(c,b,d){a.fn.jribbble().makeRequest("players/"+c+"/shots/following",b,d)};a.jribbble.getPlayerById=function(c,b){a.fn.jribbble().makeRequest("players/"+c,b)}})(jQuery);
