defunkt/jquery-pjax — pull request #73 by siu (2011-12-01 10:27:47+00:00)
Title: Set pjax.active to true when pjax is called with replace enabled

This fixes the history when the first pjax call runs a replaceState.

Use case: the page loads and immediately after loads a container with pjax with the replace option on, replacing the URL in history for future navigation. Without this fix the history is broken.