Skip to content

jquery-pjax 2.0.0

Compare
Choose a tag to compare
@mislav mislav released this 19 May 18:34
· 9 commits to master since this release

This release brings jQuery 3.x compatibility.

Backwards-incompatible changes:

  • The value of container parameter to pjax functions should be a string selector, and not a jQuery object anymore.

  • The value of container parameter cannot be a DOM node with an ID anymore.

  • The call signature $("#main").pjax("a") is not supported anymore because the container selector #main cannot be inferred from the context of the $.fn.pjax() call. To fix this, pass the container selector explicitly: $("#main").pjax("a", "#main")