-
Notifications
You must be signed in to change notification settings - Fork 470
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-migrate: jQuery 4.0 error: jQuery.expr.match.bool
does not exist
#495
Comments
I am aware of this issue, we're seeing it in our tests at https://swarm.jquery.org/project/jquerymigrate. There's no urgency since Git versions of jQuery & compatibility with them is not supported but we'll fix it. I haven't created an issue for it so we can use this one for tracking. |
For the record, the cause is jquery/jquery#5384. |
In jquery/jquery#5384, `jQuery.expr.match.bool` stopped being defined and the regex matching boolean attributes is no longer exposed. Inline it in Migrate to avoid it crashing on jQuery 4.x. Fixes jquerygh-495
Fix at #496. |
jQuery.expr.match.bool
does not exist
In jquery/jquery#5384, `jQuery.expr.match.bool` stopped being defined and the regex matching boolean attributes is no longer exposed. Inline it in Migrate to avoid it crashing on jQuery 4.x. Fixes gh-495 Closes gh-496
Released as part of jQuery Migrate |
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;
The text was updated successfully, but these errors were encountered: