Debian Codegraph @

test/index.html

raw
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>jQuery Mousewheel Unit Test</title>
6
7 <link rel="stylesheet" href="../node_modules/qunit/qunit/qunit.css">
8 <script src="../node_modules/qunit/qunit/qunit.js"></script>
9 <script>
10 var scriptUrl,
11 verMatch = /\bjquery=(\d\.\d\.\d(?:\.slim)?(?:\.min)?)/,
12 jqver = ( window.location.search.match( verMatch ) || [ "", "git" ] )[ 1 ];
13 if ( jqver === "git" || jqver === "3.x-git" ) {
14 scriptUrl = "https://releases.jquery.com/git/jquery-" + jqver + ".js";
15 } else {
16 scriptUrl = "https://code.jquery.com/jquery-" + jqver + ".js";
17 }
18 document.write( "<script src=\"" + scriptUrl + "\"><" + "/script>" );
19 </script>
20 <script src="../jquery.mousewheel.js"></script>
21 <script src="unit.js"></script>
22 <script>
23 jQuery( function( $ ) {
24 $( ".jqversion" ).text( jqver );
25 } );
26 </script>
27 <style>
28 body { font-family: Arial, Helvetica, sans-serif }
29 h2.testnote { color: red }
30 </style>
31 </head>
32 <body>
33 <h1>Using jQuery <span class="jqversion">(unknown)</span></h1>
34 <p>Add <code>?jquery=1.8.3</code> or <code>?jquery=3.7.1.min</code> to specify a jQuery version from <code>code.jquery.com</code>.</p>
35 <h2 class="testnote">
36 In addition to unit tests, run the
37 <a href="manual.html">manual test</a> and <a href="scroll.html">scrolling test</a>
38 in all supported browsers.
39 </h2>
40
41 <div id="qunit"></div>
42 </body>
43 </html>