Update to latest QUnit.

This commit is contained in:
jzaefferer 2010-08-29 17:19:32 +02:00
parent 1b4019a233
commit 6d659ba0c0
2 changed files with 10 additions and 9 deletions

5
external/qunit.css vendored
View File

@ -31,6 +31,11 @@
-webkit-border-top-left-radius: 15px;
}
#qunit-header a {
text-decoration: none;
color: white;
}
#qunit-banner {
height: 5px;
}

12
external/qunit.js vendored
View 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);
}
},
/**
@ -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 ) {