Added jQuery 1.9 to the project. Closes gh-613

This commit is contained in:
John-Philip Johansson
2013-01-30 08:35:55 +01:00
committed by Jörn Zaefferer
parent ab74256e54
commit 0681cc06c5
4 changed files with 9559 additions and 3 deletions

9555
lib/jquery-1.9.0.js vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -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
View File

@@ -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++ ) {

View File

@@ -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);
});