wbotelhos/raty — pull request #49 by muratguzel (2012-09-06 20:57:05+00:00)
Title: Callback function ability is added for the number option.

We can use the number option with callback function. It is useful and helpful with multiple rating star number option.

$(".star").raty({
score: function(){
return $(this).attr('data-rating')
},
number: function() {
return $(this).attr('data-star-count')
}
});