mirror of
https://github.com/jquery/jquery.git
synced 2024-12-09 08:04:24 +00:00
ecd8ddea33
- Update QUnit to 1.23.1 - Remove unused dl#dl from test/index.html - Remove unused map#imgmap from test/index.html - Ensure all urls to data use baseURI - Add the 'grunt karma:main' task - customContextFile & customDebugFile - Add 'npm run jenkins' script Close gh-3744 Fixes gh-1999
37 lines
839 B
HTML
37 lines
839 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<script src="../../jquery.js"></script>
|
|
<script>var $j = jQuery.noConflict();</script>
|
|
<script src="../iframeTest.js"></script>
|
|
</head>
|
|
<body>
|
|
<iframe id="dont_return" src="../mock.php?action=wait&wait=30"></iframe>
|
|
<script>
|
|
var timeoutId, $,
|
|
timeoutFired = false;
|
|
|
|
setTimeout(function () {
|
|
// Load another jQuery copy using the first one.
|
|
$j.getScript( "../../../dist/jquery.js", function () {
|
|
$j( "#dont_return" ).attr( "src", "about:blank" );
|
|
|
|
// document ready handled by the just-loaded jQuery copy.
|
|
$(function () {
|
|
clearTimeout( timeoutId );
|
|
if ( !timeoutFired ) {
|
|
startIframeTest( true );
|
|
}
|
|
});
|
|
});
|
|
|
|
timeoutId = setTimeout(function () {
|
|
timeoutFired = true;
|
|
startIframeTest( false );
|
|
}, 10000);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|