From 6d659ba0c035c20831cd647e67f7af547dab4fc3 Mon Sep 17 00:00:00 2001 From: jzaefferer Date: Sun, 29 Aug 2010 17:19:32 +0200 Subject: [PATCH] Update to latest QUnit. --- external/qunit.css | 5 +++++ external/qunit.js | 14 +++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/external/qunit.css b/external/qunit.css index 214b9b04e..a4daa27e4 100644 --- a/external/qunit.css +++ b/external/qunit.css @@ -31,6 +31,11 @@ -webkit-border-top-left-radius: 15px; } +#qunit-header a { + text-decoration: none; + color: white; +} + #qunit-banner { height: 5px; } diff --git a/external/qunit.js b/external/qunit.js index 9399a608f..45ad1dcf8 100644 --- a/external/qunit.js +++ b/external/qunit.js @@ -218,15 +218,7 @@ var QUnit = { } }); - if ( window.setTimeout && !config.doneTimer ) { - config.doneTimer = window.setTimeout(function(){ - if ( !config.queue.length ) { - done(); - } else { - synchronize( done ); - } - }, 13); - } + synchronize( done ); }, /** @@ -505,6 +497,10 @@ addEvent(window, "load", function() { if ( userAgent ) { userAgent.innerHTML = navigator.userAgent; } + var banner = id("qunit-header"); + if ( banner ) { + banner.innerHTML = '' + banner.innerHTML + ''; + } var toolbar = id("qunit-testrunner-toolbar"); if ( toolbar ) { -- 2.39.5