This repository was archived by the owner on May 26, 2025. It is now read-only.
0.2.5
- Fixed: Async switch functions now work correctly, because the DOM is now parsed after all the switches finish.
(#79, #110 - @oskarrough, @BehindTheMath, @robinnorth) - Fixed: Bug on IE11 preventing AJAX page refresh.
(#81 - @CPTechnikVX) - Fixed: Default switches are now available as
Pjax.switches.
(#92 - @BehindTheMath) - Fixed: An error that was caused by a missing
switchElementsAlt.
(#93, #104 - @BehindTheMath, @robinnorth) - Fixed: Incorrect
mainfield in npm package
(#105 - @robinnorth) - Fixed: A pending XHR is now aborted if the user navigates somewhere else before the request is finished.
(#114 - @robinnorth) - Fixed: When rendering new content, focus will now be removed only from elements within one of the containers manipulated by Pjax.
(#116 - @BehindTheMath) - Fixed: Stop dispatching extraneous
pjax:completeevents when external scripts load
(#118 - @robinnorth) - Added: Send the
X-PJAXheader with XHR requests.
(#80 - @bram1028) - Added: Direct download link for script tags. (@MoOx)
- Added: Pass the element that triggered Pjax to the
pjax:sendevent.
(#94 - @BehindTheMath) - Added: An option to set a timeout for XHR requests.
(#95 - @BehindTheMath) - Added: Checks for XHR redirects
(#101 - @BehindTheMath) - Added: Save scroll position with history, and restore when navigating backwards or forwards.
(#110, #119 - @BehindTheMath, @robinnorth) - Added: Scroll to element position when URL contains a hash
(#110 - @BehindTheMath) - Added: Minified version of the Pjax bundle.
(#115 - @BehindTheMath) - Changed: Miscellaneous code and tests cleanup.
(#96, #98, #99, #100, #107, #113, #120 - @BehindTheMath, @MoOx, @robinnorth)