Skip to content

jquery-migrate: jQuery 4.0 error: jQuery.expr.match.bool does not exist #495

Closed
@nagyimre1980

Description

@nagyimre1980

jquery-migrate has been incompatible with jquery version 4.0 for a few weeks.
"Query.expr.match.bool" does not exist.
The following part was removed from jquery 4.0 a few weeks ago. "bool: new RegExp( "^(?:" + booleans + ")$", "i" ),"
(jquery 4.0: https://releases.jquery.com/git/jquery-git.js)

migratePatchFunc( jQuery.fn, "removeAttr", function( name ) {
var self = this,
patchNeeded = false;

jQuery.each( name.match( rmatchNonSpace ), function( _i, attr ) {
	if ( jQuery.expr.match.bool.test( attr ) ) {

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions