This repository was archived by the owner on May 26, 2025. It is now read-only.
0.2.6
- Fixed: Form submission for GET requests.
(#129 - @robinnorth) - Fixed: Refactor
loadUrl()to make manually calling simpler.
(#134 - @robinnorth) - Fixed: Support multiple select fields in form submissions.
(#147 - @robinnorth) - Fixed: Use the same options object in
handle-responseas insend-request. This way,pjax.state.optionswill also have the request options.
(#148 - @BehindTheMath) - Added: Move the XHR callback to a separate method, and trigger an error event if the response cannot be parsed.
(#137 - @BehindTheMath) - Added: TypeScript definitions.
(#138 - @BehindTheMath) - Added:
replaceNodeswitch, as an alternative to theouterHTMLswitch.
(#141 - @BehindTheMath) - Added:
X-PJAX-SelectorsHTTP header. This is a serialized JSON array of selectors, taken fromoptions.selectors. You can use this to send back only the elements that Pjax will use to switch, instead of sending the whole page.
(#144 - @BehindTheMath) - Added: An option to use
FormDatato submit forms.
(#153 - @BehindTheMath) - Added: Tests.
(f98f2dd, #145 - @robinnorth, @BehindTheMath)