Skip to content

Commit 35893b7

Browse files
committed
Build: Add a jQuery version dropdown
1 parent c1a2026 commit 35893b7

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

test/data/testinit.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
"use strict";
2+
3+
QUnit.config.urlConfig.push( {
4+
id: "jquery",
5+
label: "jQuery version",
6+
value: [
7+
"1.5.2", "1.6.4", "1.7.2", "1.8.3", "1.9.1", "1.10.2", "1.11.3", "1.12.4",
8+
"2.0.3", "2.1.4", "2.2.4",
9+
"3.0.0", "3.1.1", "3.2.1", "3.3.1", "3.4.1", "3.5.1",
10+
"3.x-git", "git"
11+
],
12+
tooltip: "Which jQuery Core version to test against"
13+
} );

test/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
<script src="../jquery.color.js"></script>
99
<script src="../external/qunit/qunit.js"></script>
1010
<script src="unit/color.js"></script>
11+
<script src="data/testinit.js"></script>
1112
<script src="data/swarminject.js"></script>
1213
</head>
1314
<body id="body">
1415
<div id="qunit"></div>
1516
<div id="qunit-fixture"></div>
1617
</body>
17-
</html>
18+
</html>

0 commit comments

Comments
 (0)