Permalink
Browse files

Update to latest QUnit.

  • Loading branch information...
1 parent 1b4019a commit 6d659ba0c035c20831cd647e67f7af547dab4fc3 @jzaefferer jzaefferer committed Aug 29, 2010
Showing with 10 additions and 9 deletions.
  1. +5 −0 external/qunit.css
  2. +5 −9 external/qunit.js
View
5 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;
}
View
14 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 ) {

0 comments on commit 6d659ba

Please sign in to comment.