Skip to content
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

address function not found at plugin load under chrome #197

Open
bjj951 opened this issue Mar 16, 2015 · 2 comments
Open

address function not found at plugin load under chrome #197

bjj951 opened this issue Mar 16, 2015 · 2 comments

Comments

@bjj951
Copy link

bjj951 commented Mar 16, 2015

jQuery Address v1.6
jquery v1.8.3
Chrome Version 40.0.2214.115 m
loaded via requirejs

on line 137 within the _load function
$('a[rel*="address:"]').address();
The function address is sometimes undefined.
I seem to have successfully patched this by moving the function
$.fn.address = function (fn) { ...
above
$.address = (function () {...

Haven't seen this problem under firefox or IE

@raphaelconstantino
Copy link

Moving $.address above seems to have fixed the issue

@VincentToups
Copy link

Point of interest: I periodically see this error on IE11 but it seems to be related to latency and order of execution issues. In particular, I never see it with caching disabled. I will try the above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants