diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-08-29 17:19:32 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-08-29 17:19:32 +0200 |
commit | 6d659ba0c035c20831cd647e67f7af547dab4fc3 (patch) | |
tree | 4f38e8183a74f7a5f6750181fbba6ef2b83154d6 | |
parent | 1b4019a233291c02ee63beeaef787e716fac9e25 (diff) | |
download | jquery-ui-6d659ba0c035c20831cd647e67f7af547dab4fc3.tar.gz jquery-ui-6d659ba0c035c20831cd647e67f7af547dab4fc3.zip |
Update to latest QUnit.
-rw-r--r-- | external/qunit.css | 5 | ||||
-rw-r--r-- | 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 = '<a href="' + location.href + '">' + banner.innerHTML + '</a>'; + } var toolbar = id("qunit-testrunner-toolbar"); if ( toolbar ) { |