jquery/test/data/selector/mixed_sort.html
Michał Gołębiowski-Owczarek 1d624c10b4
Tests: Stop using jQuery.find in tests
This prepares us for possibly hiding jQuery.find in jQuery 4.0.

Closes gh-4517
2019-10-21 19:02:22 +02:00

23 lines
570 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery selector - cross-window uniqueSort</title>
<script src="../../jquery.js"></script>
<script src="../iframeTest.js"></script>
</head>
<body>
<script>
var doc = parent.document,
unframed = [ doc.getElementById( "qunit-fixture" ), doc.body, doc.documentElement ],
framed = jQuery( "*" ).get();
startIframeTest(
jQuery.uniqueSort( unframed.concat( framed ) ),
framed.concat( unframed.slice(0).reverse() )
);
</script>
</body>
</html>