defunkt/jquery-pjax — pull request #153 by ivebeenlinuxed (2012-06-26 14:47:55+00:00)
Title: Adds ability to replace the ajax container with the content, rather than putting it inside the container

I have found that with some widget designs the ability to replace the entire container, rather than just what is in the container can be benificial, especially with widgets. This is so future PJAX requests can know the container they were rendered in without having to store dynamic ids in the $_SESSION.

In the true spirit of open source I decided to commit it on the off-chance this would be useful to someone else...