mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 18:40:03 +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
@ -43,12 +43,12 @@
|
|||||||
|
|
||||||
QUnit.testStart(function (testDetails) {
|
QUnit.testStart(function (testDetails) {
|
||||||
$(window).scrollTop(0)
|
$(window).scrollTop(0)
|
||||||
QUnit.log = function (details) {
|
QUnit.log(function (details) {
|
||||||
if (!details.result) {
|
if (!details.result) {
|
||||||
details.name = testDetails.name
|
details.name = testDetails.name
|
||||||
log.push(details)
|
log.push(details)
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// Cleanup
|
// Cleanup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user