Hi all,


Just wanted to share some POC mods i made to dfunkt's pjax library to work a little more nicely with Sling. pjax is awesome, and Sling's cacheable selector-based architecture plays into this nicely.


Just add a .pjax selector, include the JS and bind to pjax to whatever elements/container and you're off to the races.


The mods probably need a little more finessing to handle more complicated URLs, but otherwise it works quite well.


https://github.com/activecq/jquery-pjax/blob/master/jquery.pjax.js


--
david gonzalez
Sent with Airmail

Reply via email to