]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Use QUnit.log(...) instead of QUnit.log = ...
authorChris Rebert <code@rebertia.com>
Thu, 26 Feb 2015 07:26:26 +0000 (23:26 -0800)
committerChris Rebert <code@rebertia.com>
Thu, 26 Feb 2015 07:29:27 +0000 (23:29 -0800)
Refs http://qunitjs.com/upgrade-guide-2.x/#replace-qunit-log-callback-with-qunit-log-callback-for-all-reporting-callbacks

js/tests/index.html

index b32f0adc22c42a5309f932a48a0d5ad6d38bd21e..05e9009fcb980094bdd60fa3b9a2ecea24e4142f 100644 (file)
 
       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