defunkt/jquery-pjax — pull request #96 by josh (2012-02-21 22:45:22+00:00)
Title: Add custom events to replace ajax callbacks

Since ajax callbacks can't be persisted into the browser history, we should prefer custom events instead.

This adds events for `pjax:beforeSend`, `pjax:complete`, `pjax:error` and `pjax:success`.