mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Update to latest QUnit.
This commit is contained in:
parent
1b4019a233
commit
6d659ba0c0
5
external/qunit.css
vendored
5
external/qunit.css
vendored
@ -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
12
external/qunit.js
vendored
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user