mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 11:04:56 -05:00
Tests: Refactor testIframe() to make it DRYer and more consistent
Ref gh-3040 Closes gh-3049
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<title>jQuery selector - sizzle cache</title>
|
||||
|
||||
<script src="../../jquery.js"></script>
|
||||
<script src="../iframeTest.js"></script>
|
||||
<script>
|
||||
document.write(
|
||||
"<script>var $cached = jQuery.noConflict(true);<\x2Fscript>" +
|
||||
@@ -18,9 +19,7 @@
|
||||
<a href="#" id="collision">Worlds collide</a>
|
||||
</div>
|
||||
<script>
|
||||
jQuery( function() {
|
||||
window.parent.iframeCallback( jQuery, window, document );
|
||||
} );
|
||||
jQuery( startIframeTest );
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user