-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Updates for jQuery 3.0+ and deprecations #4221
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
base: master
Are you sure you want to change the base?
Conversation
replace $.type with `typeof`, `Array.isArray` or `$.isPlainObject` where needed
Fix invalid self-closing html tags
@ahmadalfy can you check this? jQuery 4 completely removed support for the "$.type" and "$.isArray" functions used in slick's current code and this PR fixes them with their native equivalents. |
@pablo67340 This should be merged into next build. I've been using this in production since Dec 2022. |
@ahmadalfy might be a good idea to merge this one and then check what is still missing comparing with #4007 #4071 is difficult to diff due to the changed spaces. |
Can you please merge it, today slick is not working with jQuery 4 |
jQuery migrate warnings
$.type
withtypeof
,Array.isArray
or$.isPlainObject
where appropriate.jQuery.fn.css( (property), value )
slick.min.js
was not changed since it was still missing some previous changes to main file, it should probably just be re-minified.