-
Notifications
You must be signed in to change notification settings - Fork 53
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
nav.size is not a function #26
Comments
Hi all, |
@adrazek : Anyway, you must declare the context in your .infinitePages config, with something like : This line goes where you wrote If you do it, the browser js console won't raise an error anymore. At least, not on nav.size(). I don't know why the context don't take its default setting though. |
|
Replacing |
Get same error when integrate with Rails app, solution is setup using the Non-Rails ways and fix the library file as @clemensg:
|
There is a PR with this fix waiting for further review: #27 |
+1 What it should be the context class if I have this structure?
|
Hi,
I got this error on using your library.
Note that
The .size() method is deprecated as of jQuery 1.8. Use the .length property instead.
Please use length instead of size().
Regards,
The text was updated successfully, but these errors were encountered: