Skip to content

Fix jQuery 3.3.0 migrate warnings on jQuery UI 1.12.1 when using jQuery 3.5.1

License

Notifications You must be signed in to change notification settings

wyeack/jQuery-UI-Fixed-for-3.5.1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fix jQuery 3.5.1 Migrate Warnings for jQuery UI 1.12.1

jQuery UI releases have gone stagnant since 2017. Therefore, they contain deprecations of jQuery. The goal is just to correct those statements that need fixing, and change nothing else. These are the warnings:

JQMIGRATE: jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos

JQMIGRATE: jQuery.expr.filters is deprecated; use jQuery.expr.pseudos

JQMIGRATE: jQuery.isArray is deprecated; use Array.isArray

JQMIGRATE: jQuery.isFunction() is deprecated

According to a discussion thread, this is already done in UI code, but is not included in a single release.

Use this code at your own risk. Though every effort has been made to write correct changes, I do not know how to test them fully. Also, lower versions of jQuery might have had other issues that were not fixed, like jQuery.unique is deprecated, use jQuery.uniqueSort, which are not warned about in the above configuration.

About

Fix jQuery 3.3.0 migrate warnings on jQuery UI 1.12.1 when using jQuery 3.5.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%