]> source.dussan.org Git - jquery-ui.git/commitdiff
Update to latest QUnit.
authorjzaefferer <joern.zaefferer@gmail.com>
Sun, 29 Aug 2010 15:19:32 +0000 (17:19 +0200)
committerjzaefferer <joern.zaefferer@gmail.com>
Sun, 29 Aug 2010 15:19:32 +0000 (17:19 +0200)
external/qunit.css
external/qunit.js

index 214b9b04e23631eeab724ab3b9286ff791afe3fb..a4daa27e4244d65dc130201bf0c58bcbe22e3bb9 100644 (file)
        -webkit-border-top-left-radius: 15px;
 }
 
+#qunit-header a {
+       text-decoration: none;
+       color: white;
+}
+
 #qunit-banner {
        height: 5px;
 }
index 9399a608fdd6f03786b62682d5b181de0789d098..45ad1dcf8fb0e891768de1a40455d5b1262914f6 100644 (file)
@@ -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 ) {