From 4ff9c54cddc428e195d6a0c7ba9b4473402bcb3d Mon Sep 17 00:00:00 2001
From: Chris Rebert <code@rebertia.com>
Date: Wed, 25 Feb 2015 23:26:26 -0800
Subject: [PATCH] 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
---
 js/tests/index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
GitLab