New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It doesn't work with the latest version of jquery-pjax #17
Comments
Hi, same here rack-pjax : 0.6.0 |
Pjax's API was changed for 1.0. It's now |
@neersighted yes, saw that after posting here. |
Nice. The sample app https://github.com/eval/rack-pjax/tree/sample-app now also reflects the new jquery-pjax usage. |
If I use
|
I think @charly made a typo. Format is not $(document).pjax(container, links) but $(document).pjax(links, container) |
Hello, I followed the instructions as shown in the Railscast by Ryan Bates. http://railscasts.com/episodes/294-playing-with-pjax
Unfortunately it doesn't work anymore with the latest version of jquery-pjax. I checked this github page and see that you do the javascript call in a similar way as shown in the railscast.
This however leaves the links unaltered and when I click any of them the link gets followed through in a normal way. If I replace the jquery-pjax file with an older one. For example the one that was used in the railscast. Everything works as expected.
The text was updated successfully, but these errors were encountered: