mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-20 09:11:40 +01:00
Added jQuery 1.9 to the project. Closes gh-613
This commit is contained in:
committed by
Jörn Zaefferer
parent
ab74256e54
commit
0681cc06c5
9555
lib/jquery-1.9.0.js
vendored
Normal file
9555
lib/jquery-1.9.0.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -22,6 +22,7 @@
|
||||
<a href="?jquery=1.6.4">jQuery 1.6.4</a>
|
||||
<a href="?jquery=1.7.2">jQuery 1.7.2</a>
|
||||
<a href="?jquery=1.8.3">jQuery 1.8.3</a>
|
||||
<a href="?jquery=1.9.0">jQuery 1.9.0</a>
|
||||
<a href="?jquery=git">jQuery Latest (git)</a>
|
||||
</h1>
|
||||
<div>
|
||||
|
||||
2
test/jquery.js
vendored
2
test/jquery.js
vendored
@@ -4,7 +4,7 @@ var parts = document.location.search.slice( 1 ).split( "&" ),
|
||||
length = parts.length,
|
||||
i = 0,
|
||||
current,
|
||||
version = "1.8.3",
|
||||
version = "1.9.0",
|
||||
file = "http://code.jquery.com/jquery-git.js";
|
||||
|
||||
for ( ; i < length; i++ ) {
|
||||
|
||||
@@ -696,7 +696,7 @@ test("findLastActive()", function() {
|
||||
|
||||
test("validating multiple checkboxes with 'required'", function() {
|
||||
expect(3);
|
||||
var checkboxes = $("#form input[name=check3]").attr("checked", false);
|
||||
var checkboxes = $("#form input[name=check3]").prop("checked", false);
|
||||
equal(checkboxes.size(), 5);
|
||||
var v = $("#form").validate({
|
||||
rules: {
|
||||
@@ -705,7 +705,7 @@ test("validating multiple checkboxes with 'required'", function() {
|
||||
});
|
||||
v.form();
|
||||
equal(v.size(), 1);
|
||||
checkboxes.filter(":last").attr("checked", true);
|
||||
checkboxes.filter(":last").prop("checked", true);
|
||||
v.form();
|
||||
equal(v.size(), 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user