From: jzaefferer Date: Sun, 29 Aug 2010 15:19:32 +0000 (+0200) Subject: Update to latest QUnit. X-Git-Tag: 1.8.5~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6d659ba0c035c20831cd647e67f7af547dab4fc3;p=jquery-ui.git Update to latest QUnit. --- 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 ) {