You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per the jQuery docs, calling removeClass() with no arguments should remove all classes:
If a class name is included as a parameter, then only that class will be removed from the set of matched elements. If no class names are specified in the parameter, all classes will be removed.
However with the regexp monkey-patch in place, this gets broken:
…ll classes).
jQuery's behavior changed somewhere between 1.4.4 and 1.11.3; the 'empty' test
case works against 1.4.4 but not 1.11.3 or 2.1.4. Changing the fallback case
to pass along the original arguments verbatim fixes the issue.
Per the jQuery docs, calling
removeClass()
with no arguments should remove all classes:However with the regexp monkey-patch in place, this gets broken:
Changing line 19 from
call
toapply
fixes the zero-argument case:The text was updated successfully, but these errors were encountered: