-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove most QUnit callback forwarding in favour of QUnit events
Especially, remove the deprecated details parameter to `QUnit.done()` as this will be undefined in QUnit 3.0 and thus would cause grunt-contrib-qunit to crash due to reading `obj.failed` on undefined. https://qunitjs.com/api/callbacks/QUnit.done/ Most of these are obsoleted by QUnit.on, which are already forwarded to Grunt's event system as `'qunit.on.*'` and can be used instead. https://qunitjs.com/api/callbacks/QUnit.on/ To help in the common case, and to ease migration/debugging, leave forwarding of begin/done events in place but without parameters.
- Loading branch information
Showing
4 changed files
with
27 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters