Skip to content

Commit a2a365f

Browse files
committed
test/index.html: move CSS before JS.
1 parent 7568a8e commit a2a365f

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/index.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,6 @@
44
<meta charset="iso-8859-1">
55
<title>Testing mousewheel plugin</title>
66

7-
<script>
8-
(function() {
9-
var verMatch = /v=([\w\.]+)/.exec(location.search),
10-
version = verMatch && verMatch[1],
11-
src;
12-
if (version)
13-
src = 'code.jquery.com/jquery-' + version;
14-
else
15-
src = 'code.jquery.com/jquery-git';
16-
document.write('<script src="http://' + src + '.js"><\/script>');
17-
})();
18-
</script>
19-
<script src="../jquery.mousewheel.js"></script>
20-
217
<style>
228
html {
239
font: 13px Arial, sans-serif;
@@ -116,6 +102,19 @@
116102
border-bottom-color: #000;
117103
}
118104
</style>
105+
106+
<script>
107+
(function() {
108+
var verMatch = /v=([\w\.]+)/.exec(location.search),
109+
version = verMatch && verMatch[1],
110+
src;
111+
if (version)
112+
src = 'code.jquery.com/jquery-' + version;
113+
else
114+
src = 'code.jquery.com/jquery-git';
115+
document.write('<script src="http://' + src + '.js"><\/script>');
116+
})();
117+
</script>
119118
<script>
120119
$(function() {
121120
$('#userAgent').html(navigator.userAgent);
@@ -206,6 +205,7 @@
206205
}
207206
});
208207
</script>
208+
<script src="../jquery.mousewheel.js"></script>
209209
</head>
210210
<body>
211211
<h1 id="banner">jQuery mousewheel.js Test with jQuery <span id="jqueryVersion"></span></h1>

0 commit comments

Comments
 (0)