File: mixed_sort.html

package info (click to toggle)
node-jquery 3.7.1%2Bdfsg%2B~3.5.33-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,948 kB
  • sloc: javascript: 38,612; php: 223; xml: 36; makefile: 14
file content (22 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!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.find( "*" );

	startIframeTest(
		jQuery.uniqueSort( unframed.concat( framed ) ),
		framed.concat( unframed.slice(0).reverse() )
	);
</script>
</body>
</html>