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

.on("ready", fn) is removed in jQuery 3 #379

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

@nathanvda
Copy link
Owner

Thanks. Damn, the code looked nicer before, being able to combine both events 😢

@mtsmfm
Copy link
Author

mtsmfm commented Aug 10, 2016

😢

BTW, it seems that tests will fail even master branch.
Are anyone trying to fix tests?

@nathanvda
Copy link
Owner

nathanvda commented Aug 10, 2016

Re tests: I'll have a look later today or tomorrow. The tests passed on my last release, so probably something changed at travis' side.

We should also prepare for rails 5/turbolinks 5 where the event was renamed from page:load to turbolinks:load. Hopefully I can keep it backwards compatible easy enough (because not sure, but the turbolinks:load also seems to be triggered on ready?).

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

Successfully merging this pull request may close these issues.

2 participants