defunkt/jquery-pjax — pull request #79 by voxpelli (2012-01-02 16:31:37+00:00)
Title: Tweaks to work better with other history states

Here are some tweaks to make pjax work better with other code that also uses the History API .

Two changes has been made:

* Extends existing history state with own state values instead of replacing existing state object.

* Adds new opt-in option, preventRedundantLoad, to avoid redundant reloading of container content on popstates triggered by non-pjax states.

With these changes my [jquery-loadmore](https://github.com/voxpelli/jquery-loadmore)'s use of the History API works well with pjax - even if it itself is used from within a pjax container.