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 ) {