Fix typos

This commit is contained in:
jzaefferer
2013-03-07 16:54:12 +04:00
committed by Jörn Zaefferer
parent 8fc08ed16c
commit 4a51e71c6f
12 changed files with 32 additions and 32 deletions

View File

@@ -232,7 +232,7 @@ test("required with dependencies", function() {
var v = jQuery("#form").validate(),
method = $.validator.methods.required,
e = $('#hidden2, #select1, #area2, #radio1, #check2');
ok( method.call( v, e[0].value, e[0], "asffsaa" ), "Valid text input due to depencie not met" );
ok( method.call( v, e[0].value, e[0], "asffsaa" ), "Valid text input due to dependency not met" );
ok(!method.call( v, e[0].value, e[0], "input" ), "Invalid text input" );
ok( method.call( v, e[0].value, e[0], function() { return false; }), "Valid text input due to dependency not met" );
ok(!method.call( v, e[0].value, e[0], function() { return true; }), "Invalid text input" );