Closed
Description
An example would be when using jquery-migrate in unit tests:
jQuery.migrateWarningHandler(warning => failTheUnitTest(warning))
or one could throw an exception possibly.
Migrate warnings would then fail the build, so problems are discovered early.
See This PR in jquery-ui for context.
(Ideally it would be possible to use both in 1.4.x and 3.x, since that is what jquery-ui uses)
Metadata
Metadata
Assignees
Labels
No labels