From: Chris Rebert Date: Thu, 26 Feb 2015 07:26:26 +0000 (-0800) Subject: Use QUnit.log(...) instead of QUnit.log = ... X-Git-Tag: v3.3.4~63^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ff9c54cddc428e195d6a0c7ba9b4473402bcb3d;p=thirdparty%2Fbootstrap.git 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 --- diff --git a/js/tests/index.html b/js/tests/index.html index b32f0adc22..05e9009fcb 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