mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2026-06-12 15:37:05 +02:00
Update dependencies: Remove old jQuery versions, include new ones. Update QUnit and Form plugin.
This commit is contained in:
Vendored
-4376
File diff suppressed because it is too large
Load Diff
Vendored
-6240
File diff suppressed because it is too large
Load Diff
+473
-363
File diff suppressed because it is too large
Load Diff
Vendored
+9472
File diff suppressed because it is too large
Load Diff
+882
-680
File diff suppressed because it is too large
Load Diff
+14
-15
@@ -2,28 +2,27 @@
|
||||
<html id="html">
|
||||
<head>
|
||||
<title>jQuery - Validation Test Suite</title>
|
||||
<link rel="Stylesheet" media="screen" href="qunit/qunit.css" />
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="../lib/jquery.form.js"></script>
|
||||
<script type="text/javascript" src="qunit/qunit.js"></script>
|
||||
<script type="text/javascript" src="../lib/jquery.metadata.js"></script>
|
||||
<script type="text/javascript" src="../lib/jquery.mockjax.js"></script>
|
||||
<script type="text/javascript" src="../jquery.validate.js"></script>
|
||||
<script type="text/javascript" src="../additional-methods.js"></script>
|
||||
<script type="text/javascript" src="test.js"></script>
|
||||
<script type="text/javascript" src="rules.js"></script>
|
||||
<script type="text/javascript" src="messages.js"></script>
|
||||
<script type="text/javascript" src="methods.js"></script>
|
||||
<link rel="stylesheet" href="qunit/qunit.css" />
|
||||
<script src="jquery.js"></script>
|
||||
<script src="../lib/jquery.form.js"></script>
|
||||
<script src="qunit/qunit.js"></script>
|
||||
<script src="../lib/jquery.metadata.js"></script>
|
||||
<script src="../lib/jquery.mockjax.js"></script>
|
||||
<script src="../jquery.validate.js"></script>
|
||||
<script src="../additional-methods.js"></script>
|
||||
<script src="test.js"></script>
|
||||
<script src="rules.js"></script>
|
||||
<script src="messages.js"></script>
|
||||
<script src="methods.js"></script>
|
||||
</head>
|
||||
<body id="body">
|
||||
<h1 id="qunit-header">
|
||||
<a href="http://bassistance.de/jquery-plugins/jquery-plugin-validation/">jQuery Validation Plugin</a> Test Suite
|
||||
<a href="?jquery=1.3.2">jQuery 1.3.2</a>
|
||||
<a href="?jquery=1.4.2">jQuery 1.4.2</a>
|
||||
<a href="?jquery=1.4.4">jQuery 1.4.4</a>
|
||||
<a href="?jquery=1.5.2">jQuery 1.5.2</a>
|
||||
<a href="?jquery=1.6.1">jQuery 1.6.1</a>
|
||||
<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.7.2">jQuery 1.8.3</a>
|
||||
<a href="?jquery=git">jQuery Latest (git)</a>
|
||||
</h1>
|
||||
<div>
|
||||
|
||||
Vendored
+1
-1
@@ -4,7 +4,7 @@ var parts = document.location.search.slice( 1 ).split( "&" ),
|
||||
length = parts.length,
|
||||
i = 0,
|
||||
current,
|
||||
version = "1.3.2",
|
||||
version = "1.8.3",
|
||||
file = "http://code.jquery.com/jquery-git.js";
|
||||
|
||||
for ( ; i < length; i++ ) {
|
||||
|
||||
+27
-27
@@ -1,11 +1,11 @@
|
||||
/**
|
||||
* QUnit v1.5.0 - A JavaScript Unit Testing Framework
|
||||
* QUnit v1.10.0 - A JavaScript Unit Testing Framework
|
||||
*
|
||||
* http://docs.jquery.com/QUnit
|
||||
* http://qunitjs.com
|
||||
*
|
||||
* Copyright (c) 2012 John Resig, Jörn Zaefferer
|
||||
* Dual licensed under the MIT (MIT-LICENSE.txt)
|
||||
* or GPL (GPL-LICENSE.txt) licenses.
|
||||
* Copyright 2012 jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*/
|
||||
|
||||
/** Font Family and Sizes */
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
/** Resets */
|
||||
|
||||
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
|
||||
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
@@ -38,10 +38,10 @@
|
||||
line-height: 1em;
|
||||
font-weight: normal;
|
||||
|
||||
border-radius: 15px 15px 0 0;
|
||||
-moz-border-radius: 15px 15px 0 0;
|
||||
-webkit-border-top-right-radius: 15px;
|
||||
-webkit-border-top-left-radius: 15px;
|
||||
border-radius: 5px 5px 0 0;
|
||||
-moz-border-radius: 5px 5px 0 0;
|
||||
-webkit-border-top-right-radius: 5px;
|
||||
-webkit-border-top-left-radius: 5px;
|
||||
}
|
||||
|
||||
#qunit-header a {
|
||||
@@ -54,8 +54,9 @@
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#qunit-header label {
|
||||
#qunit-testrunner-toolbar label {
|
||||
display: inline-block;
|
||||
padding: 0 .5em 0 .1em;
|
||||
}
|
||||
|
||||
#qunit-banner {
|
||||
@@ -66,6 +67,7 @@
|
||||
padding: 0.5em 0 0.5em 2em;
|
||||
color: #5E740B;
|
||||
background-color: #eee;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#qunit-userAgent {
|
||||
@@ -75,6 +77,9 @@
|
||||
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
||||
}
|
||||
|
||||
#qunit-modulefilter-container {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/** Tests: Pass/Fail */
|
||||
|
||||
@@ -112,13 +117,9 @@
|
||||
|
||||
background-color: #fff;
|
||||
|
||||
border-radius: 15px;
|
||||
-moz-border-radius: 15px;
|
||||
-webkit-border-radius: 15px;
|
||||
|
||||
box-shadow: inset 0px 2px 13px #999;
|
||||
-moz-box-shadow: inset 0px 2px 13px #999;
|
||||
-webkit-box-shadow: inset 0px 2px 13px #999;
|
||||
border-radius: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
}
|
||||
|
||||
#qunit-tests table {
|
||||
@@ -161,8 +162,7 @@
|
||||
#qunit-tests b.failed { color: #710909; }
|
||||
|
||||
#qunit-tests li li {
|
||||
margin: 0.5em;
|
||||
padding: 0.4em 0.5em 0.4em 0.5em;
|
||||
padding: 5px;
|
||||
background-color: #fff;
|
||||
border-bottom: none;
|
||||
list-style-position: inside;
|
||||
@@ -171,9 +171,9 @@
|
||||
/*** Passing Styles */
|
||||
|
||||
#qunit-tests li li.pass {
|
||||
color: #5E740B;
|
||||
color: #3c510c;
|
||||
background-color: #fff;
|
||||
border-left: 26px solid #C6E746;
|
||||
border-left: 10px solid #C6E746;
|
||||
}
|
||||
|
||||
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
||||
@@ -189,15 +189,15 @@
|
||||
#qunit-tests li li.fail {
|
||||
color: #710909;
|
||||
background-color: #fff;
|
||||
border-left: 26px solid #EE5757;
|
||||
border-left: 10px solid #EE5757;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
#qunit-tests > li:last-child {
|
||||
border-radius: 0 0 15px 15px;
|
||||
-moz-border-radius: 0 0 15px 15px;
|
||||
-webkit-border-bottom-right-radius: 15px;
|
||||
-webkit-border-bottom-left-radius: 15px;
|
||||
border-radius: 0 0 5px 5px;
|
||||
-moz-border-radius: 0 0 5px 5px;
|
||||
-webkit-border-bottom-right-radius: 5px;
|
||||
-webkit-border-bottom-left-radius: 5px;
|
||||
}
|
||||
|
||||
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
|
||||
|
||||
+1056
-748
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -40,7 +40,7 @@ test("Constructor", function() {
|
||||
});
|
||||
|
||||
test("validate() without elements, with non-form elements", 0, function() {
|
||||
$("#doesn'texist").validate();
|
||||
$("#doesn-texist").validate();
|
||||
});
|
||||
|
||||
test("valid() plugin method", function() {
|
||||
|
||||
Reference in New Issue
Block a user