aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-02-25 23:26:26 -0800
committerChris Rebert <[email protected]>2015-02-25 23:29:27 -0800
commit4ff9c54cddc428e195d6a0c7ba9b4473402bcb3d (patch)
tree1c77d812267207d70714ca8c0d325e17c7dfdbe5
parent3bb05b5fbb6bbf247923a53829b53a27f1b6972b (diff)
downloadbootstrap-4ff9c54cddc428e195d6a0c7ba9b4473402bcb3d.tar.xz
bootstrap-4ff9c54cddc428e195d6a0c7ba9b4473402bcb3d.zip
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
-rw-r--r--js/tests/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/index.html b/js/tests/index.html
index b32f0adc2..05e9009fc 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -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