-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Use Array.isArray instead of jQuery.isArray #724
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an issue I found when migrating a code base from jQuery 1.12 to jQuery 3.5.
Using jQuery-Migrate I'm getting a warning because Bootstrap Switch uses jQuery.isArray, that is deprecated.
From jQuery-Migrate:
Instead of using
jQuery.isArray
,Array.isArray
should be used. This shouldn't be a problem as all the browsers supported by Bootstrap Switch implementArray.isArray
.Steps to reproduce:
On a page that uses Bootstrap Switch
JQMIGRATE: jQuery.isArray is deprecated; use Array.isArray
The text was updated successfully, but these errors were encountered: