Easily enable fast Ajax navigation on any website (using pushState + xhr)
options.history
to correctly parse being set to false.
(#165 - @BehindTheMath).options
object to loadContent()
.
(#171 - @BehindTheMath)loadUrl()
to make manually calling simpler.
(#134 - @robinnorth)handle-response
as in send-request
. This way, pjax.state.options
will also have the request options.
(#148 - @BehindTheMath)replaceNode
switch, as an alternative to the outerHTML
switch.
(#141 - @BehindTheMath)X-PJAX-Selectors
HTTP header. This is a serialized JSON array of selectors, taken from options.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)FormData
to submit forms.
(#153 - @BehindTheMath)Pjax.switches
.
(#92 - @BehindTheMath)switchElementsAlt
.
(#93, #104 - @BehindTheMath, @robinnorth)main
field in npm package
(#105 - @robinnorth)pjax:complete
events when external scripts load
(#118 - @robinnorth)X-PJAX
header with XHR requests.
(#80 - @bram1028)pjax:send
event.
(#94 - @BehindTheMath)currentUrlFullReload
option now worksthis.reload
is now a Function
(#65)./pjax.js
(#57
options
was undefined)
(#59)TypeError: Pjax.forEachEls is not a function
(#52)TypeError: Pjax.executeScripts is not a function
(#52)TypeError: Pjax.clone is not a function
(#52)