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
jQuery.get() 4.0 backward compatibility issue #5426
Comments
The docs don't say that you can use |
Thanks for the issue and thanks for pointing that out, Dave. We'll mention it in the upgrade guide. |
Has anyone here come across this error when using $.get() ? Also, I was using the hosted library served up by Google when I first got the message so I then loaded a local file of 3.6. jquery-3.6.0.min.js:2 Uncaught TypeError: t.call is not a function NOTE: I was testing using localhost when I got this error |
The jQuery api describes jQuery.get as: jQuery.get( url [, data ] [, success ] [, dataType ] )].
In jQuery 3.5.7 this code, with null for the data parameter, works:
In jQuery 4.0 this code doesn't work anymore, you have to remove the null parameter:
A small change, but this breaks backward compatibility.
The text was updated successfully, but these errors were encountered: