-
Notifications
You must be signed in to change notification settings - Fork 20.6k
load() callback "this" breaking in 2.2.0 vs 2.1.4 #3035
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
Comments
It looks like the callback invocation should be using |
Thanks @blq (Fredrik Blomqvist) Fixes jquery#3035
Thanks @blq (Fredrik Blomqvist) Fixes jquerygh-3035
@markelog This fix is making it into 1.12.3 & 2.2.3 so the milestone should reflect that. Why did you change that to 3.0.0? |
And to 3.0 too, whereas master branch is a primary one. So why did you change the milestone, before clarifying? |
Milestones are used to generate changelogs and for end users it doesn't Also, if anyone, I should be the one asking why you changed the milestone Michał Gołębiowski |
I think correct course of events is important, this issue looks like that the fix is only needed for 2.2-stable, whereas is it would incorrect to assume that.
That would be an incorrect, offensive commit was done against the 3.0 and ported to 2.x/1.x, This commit should be in both changelogs, milestone, in my opinion should be set on primary branch. |
I disagree but I don't have anything else to add. |
Thanks for the fix and quick release, now our app works again! :) |
Hi,
"this" in the callback to the load() function changed from 2.1.4 to 2.2.0 in a breaking way.
The documentation at http://api.jquery.com/load/ says: ".. this is set to each DOM element in turn.".
In 2.2.0 "this" is instead the jQuery instance, and not the DOM element.
I tracked it down to this commit:
a4715f4
Regards
/Fredrik Blomqvist
The text was updated successfully, but these errors were encountered: