beneverard/jqPagination — pull request #5 by Zikes (2011-12-15 03:39:10+00:00)
Title: adding new events/callback system

Rewrote the callback system to use native jQuery events/triggers. Provides the advantage of being able to attach callbacks to the elements as events, and makes it easier to add new events to the plugin in the future.

Examples:

$('.paginate').jqPagination({
paged: function(evt, page){
console.log(page);
}
});
$('.paginate').bind('jqPagination', function(evt, page){});

Not backwards compatible, but easy for users to fix when updating.