forked from jquery/jquery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove jQuery.quickReady, save bytes, style nits in tests
- Loading branch information
1 parent
bab6f53
commit f925c7a
Showing
6 changed files
with
50 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8"> | ||
<title>Test case for jQuery ticket #10067</title> | ||
<script type="text/javascript"> | ||
if ( document.attachEvent ) { | ||
// browsers that use the non-standard event API will load the iframe | ||
// before jQuery, so there's no way to fire ready before the iframe loads | ||
window.parent.iframeCallback( true ); | ||
} else { | ||
setTimeout(function() { | ||
el = document.createElement("script"); | ||
el.type = "text/javascript"; | ||
el.onload = function() { | ||
jQuery( document ).ready(function() { | ||
window.parent.iframeCallback( true ); | ||
}); | ||
} | ||
document.getElementsByTagName("head")[ 0 ].appendChild( el ); | ||
el.src = "../include_js.php"; | ||
}, 1000 ); | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
<!-- long loading iframe --> | ||
<iframe src="longLoad.php?sleep=15&return=false" style="width: 1px; height: 1px"></iframe> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters