Skip to content

Commit 5ec962e

Browse files
committed
Update dependencies: Remove old jQuery versions, include new ones. Update QUnit and Form plugin.
1 parent 948c7ce commit 5ec962e

File tree

10 files changed

+11988
-12513
lines changed

10 files changed

+11988
-12513
lines changed

lib/jquery-1.3.2.js

Lines changed: 0 additions & 4376 deletions
This file was deleted.

lib/jquery-1.4.2.js

Lines changed: 0 additions & 6240 deletions
This file was deleted.

lib/jquery-1.6.1.js renamed to lib/jquery-1.6.4.js

Lines changed: 472 additions & 362 deletions
Large diffs are not rendered by default.

lib/jquery-1.8.3.js

Lines changed: 9472 additions & 0 deletions
Large diffs are not rendered by default.

lib/jquery.form.js

Lines changed: 944 additions & 742 deletions
Large diffs are not rendered by default.

test/index.html

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,27 @@
22
<html id="html">
33
<head>
44
<title>jQuery - Validation Test Suite</title>
5-
<link rel="Stylesheet" media="screen" href="qunit/qunit.css" />
6-
<script type="text/javascript" src="jquery.js"></script>
7-
<script type="text/javascript" src="../lib/jquery.form.js"></script>
8-
<script type="text/javascript" src="qunit/qunit.js"></script>
9-
<script type="text/javascript" src="../lib/jquery.metadata.js"></script>
10-
<script type="text/javascript" src="../lib/jquery.mockjax.js"></script>
11-
<script type="text/javascript" src="../jquery.validate.js"></script>
12-
<script type="text/javascript" src="../additional-methods.js"></script>
13-
<script type="text/javascript" src="test.js"></script>
14-
<script type="text/javascript" src="rules.js"></script>
15-
<script type="text/javascript" src="messages.js"></script>
16-
<script type="text/javascript" src="methods.js"></script>
5+
<link rel="stylesheet" href="qunit/qunit.css" />
6+
<script src="jquery.js"></script>
7+
<script src="../lib/jquery.form.js"></script>
8+
<script src="qunit/qunit.js"></script>
9+
<script src="../lib/jquery.metadata.js"></script>
10+
<script src="../lib/jquery.mockjax.js"></script>
11+
<script src="../jquery.validate.js"></script>
12+
<script src="../additional-methods.js"></script>
13+
<script src="test.js"></script>
14+
<script src="rules.js"></script>
15+
<script src="messages.js"></script>
16+
<script src="methods.js"></script>
1717
</head>
1818
<body id="body">
1919
<h1 id="qunit-header">
2020
<a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation Plugin</a> Test Suite
21-
<a href="?jquery=1.3.2">jQuery 1.3.2</a>
22-
<a href="?jquery=1.4.2">jQuery 1.4.2</a>
2321
<a href="?jquery=1.4.4">jQuery 1.4.4</a>
2422
<a href="?jquery=1.5.2">jQuery 1.5.2</a>
25-
<a href="?jquery=1.6.1">jQuery 1.6.1</a>
23+
<a href="?jquery=1.6.4">jQuery 1.6.4</a>
2624
<a href="?jquery=1.7.2">jQuery 1.7.2</a>
25+
<a href="?jquery=1.7.2">jQuery 1.8.3</a>
2726
<a href="?jquery=git">jQuery Latest (git)</a>
2827
</h1>
2928
<div>

test/jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var parts = document.location.search.slice( 1 ).split( "&" ),
44
length = parts.length,
55
i = 0,
66
current,
7-
version = "1.3.2",
7+
version = "1.8.3",
88
file = "http://code.jquery.com/jquery-git.js";
99

1010
for ( ; i < length; i++ ) {

test/qunit/qunit.css

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
2-
* QUnit v1.5.0 - A JavaScript Unit Testing Framework
2+
* QUnit v1.10.0 - A JavaScript Unit Testing Framework
33
*
4-
* http://docs.jquery.com/QUnit
4+
* http://qunitjs.com
55
*
6-
* Copyright (c) 2012 John Resig, Jörn Zaefferer
7-
* Dual licensed under the MIT (MIT-LICENSE.txt)
8-
* or GPL (GPL-LICENSE.txt) licenses.
6+
* Copyright 2012 jQuery Foundation and other contributors
7+
* Released under the MIT license.
8+
* http://jquery.org/license
99
*/
1010

1111
/** Font Family and Sizes */
@@ -20,7 +20,7 @@
2020

2121
/** Resets */
2222

23-
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
23+
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
2424
margin: 0;
2525
padding: 0;
2626
}
@@ -38,10 +38,10 @@
3838
line-height: 1em;
3939
font-weight: normal;
4040

41-
border-radius: 15px 15px 0 0;
42-
-moz-border-radius: 15px 15px 0 0;
43-
-webkit-border-top-right-radius: 15px;
44-
-webkit-border-top-left-radius: 15px;
41+
border-radius: 5px 5px 0 0;
42+
-moz-border-radius: 5px 5px 0 0;
43+
-webkit-border-top-right-radius: 5px;
44+
-webkit-border-top-left-radius: 5px;
4545
}
4646

4747
#qunit-header a {
@@ -54,8 +54,9 @@
5454
color: #fff;
5555
}
5656

57-
#qunit-header label {
57+
#qunit-testrunner-toolbar label {
5858
display: inline-block;
59+
padding: 0 .5em 0 .1em;
5960
}
6061

6162
#qunit-banner {
@@ -66,6 +67,7 @@
6667
padding: 0.5em 0 0.5em 2em;
6768
color: #5E740B;
6869
background-color: #eee;
70+
overflow: hidden;
6971
}
7072

7173
#qunit-userAgent {
@@ -75,6 +77,9 @@
7577
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
7678
}
7779

80+
#qunit-modulefilter-container {
81+
float: right;
82+
}
7883

7984
/** Tests: Pass/Fail */
8085

@@ -112,13 +117,9 @@
112117

113118
background-color: #fff;
114119

115-
border-radius: 15px;
116-
-moz-border-radius: 15px;
117-
-webkit-border-radius: 15px;
118-
119-
box-shadow: inset 0px 2px 13px #999;
120-
-moz-box-shadow: inset 0px 2px 13px #999;
121-
-webkit-box-shadow: inset 0px 2px 13px #999;
120+
border-radius: 5px;
121+
-moz-border-radius: 5px;
122+
-webkit-border-radius: 5px;
122123
}
123124

124125
#qunit-tests table {
@@ -161,8 +162,7 @@
161162
#qunit-tests b.failed { color: #710909; }
162163

163164
#qunit-tests li li {
164-
margin: 0.5em;
165-
padding: 0.4em 0.5em 0.4em 0.5em;
165+
padding: 5px;
166166
background-color: #fff;
167167
border-bottom: none;
168168
list-style-position: inside;
@@ -171,9 +171,9 @@
171171
/*** Passing Styles */
172172

173173
#qunit-tests li li.pass {
174-
color: #5E740B;
174+
color: #3c510c;
175175
background-color: #fff;
176-
border-left: 26px solid #C6E746;
176+
border-left: 10px solid #C6E746;
177177
}
178178

179179
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
@@ -189,15 +189,15 @@
189189
#qunit-tests li li.fail {
190190
color: #710909;
191191
background-color: #fff;
192-
border-left: 26px solid #EE5757;
192+
border-left: 10px solid #EE5757;
193193
white-space: pre;
194194
}
195195

196196
#qunit-tests > li:last-child {
197-
border-radius: 0 0 15px 15px;
198-
-moz-border-radius: 0 0 15px 15px;
199-
-webkit-border-bottom-right-radius: 15px;
200-
-webkit-border-bottom-left-radius: 15px;
197+
border-radius: 0 0 5px 5px;
198+
-moz-border-radius: 0 0 5px 5px;
199+
-webkit-border-bottom-right-radius: 5px;
200+
-webkit-border-bottom-left-radius: 5px;
201201
}
202202

203203
#qunit-tests .fail { color: #000000; background-color: #EE5757; }

0 commit comments

Comments
 (0)