alpixel/jRating — pull request #3 by mdebbar (2012-09-06 22:44:49+00:00)
Title: This adds more parameters to the callback functions.

It adds the element on which the click event happened as a first argument to `onSuccess()` and `onError()` callbacks.
It also adds unbinds any events previously attached to the elements before attaching new handlers. This avoids the problem caused when the jRating plugin is called twice on the same element.