mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-04-06 14:20:58 +00:00
Use QUnit.log(...) instead of QUnit.log = ...
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-log-callback-with-qunit-log-callback-for-all-reporting-callbacks
This commit is contained in:
parent
3bb05b5fbb
commit
4ff9c54cdd
1 changed files with 2 additions and 2 deletions
|
|
@ -43,12 +43,12 @@
|
|||
|
||||
QUnit.testStart(function (testDetails) {
|
||||
$(window).scrollTop(0)
|
||||
QUnit.log = function (details) {
|
||||
QUnit.log(function (details) {
|
||||
if (!details.result) {
|
||||
details.name = testDetails.name
|
||||
log.push(details)
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// Cleanup
|
||||
|
|
|
|||
Loading…
Reference in a new issue