-
Notifications
You must be signed in to change notification settings - Fork 108
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
Application.js Example #51
Comments
This: is currently broken for me. i get: |
+1 for the poster. In the readme-file, this line: $('a:not([data-remote]):not([data-behavior]):not([data-skip-pjax])').pjax('[data-pjax-container]'); ...should read "the other way around", like so: $('[data-pjax-container]').pjax('a:not([data-remote]):not([data-behavior]):not([data-skip-pjax])'); The examples on https://github.com/defunkt/jquery-pjax seem to follow the second convention. Like so: |
please update the documentation to reflect this. I was struggling to implement pjax_rails for several days, and I was about to put in an issue before reading this one. |
Docs were updated |
Is this example really correct?
I couldn't get it to work and looking around, it appears that what is passed to the .pjax method should actually be the link targets -- not the container? Am I missing something?
Thanks,
Tom
The text was updated successfully, but these errors were encountered: