Skip to content

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

Open
mtsmfm wants to merge 1 commit intonathanvda:masterfrom
mtsmfm:fix-on-ready-for-jquery-3
Open

.on("ready", fn) is removed in jQuery 3#379
mtsmfm wants to merge 1 commit intonathanvda:masterfrom
mtsmfm:fix-on-ready-for-jquery-3

Conversation

@mtsmfm
Copy link
Copy Markdown

@mtsmfm mtsmfm commented Aug 10, 2016

@nathanvda
Copy link
Copy Markdown
Owner

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

@mtsmfm
Copy link
Copy Markdown
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
Copy Markdown
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