aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/attributes.js
diff options
context:
space:
mode:
authordmitrygusev <dmitry.gusev@gmail.com>2013-02-28 00:44:34 +0400
committerDave Methvin <dave.methvin@gmail.com>2013-02-28 15:55:55 -0500
commita13cadadf6f164c4498af5e92c0819933573084a (patch)
treef41ef5ca1978d7cb1ab157bf04012d3cb4cd29b8 /test/unit/attributes.js
parent69b3d5ce0f081d3f113b2917495f35df160f8522 (diff)
downloadjquery-a13cadadf6f164c4498af5e92c0819933573084a.tar.gz
jquery-a13cadadf6f164c4498af5e92c0819933573084a.zip
Fix typos. Close gh-1186.
Diffstat (limited to 'test/unit/attributes.js')
-rw-r--r--test/unit/attributes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/attributes.js b/test/unit/attributes.js
index 36fc8451c..ccd1f4a99 100644
--- a/test/unit/attributes.js
+++ b/test/unit/attributes.js
@@ -70,7 +70,7 @@ test( "attr(String)", function() {
equal( jQuery("#text1").attr("value", "t").attr("value"), "t", "Check setting the value attribute" );
equal( jQuery("#text1").attr("value", "").attr("value"), "", "Check setting the value attribute to empty string" );
equal( jQuery("<div value='t'></div>").attr("value"), "t", "Check setting custom attr named 'value' on a div" );
- equal( jQuery("#form").attr("blah", "blah").attr("blah"), "blah", "Set non-existant attribute on a form" );
+ equal( jQuery("#form").attr("blah", "blah").attr("blah"), "blah", "Set non-existent attribute on a form" );
equal( jQuery("#foo").attr("height"), undefined, "Non existent height attribute should return undefined" );
// [7472] & [3113] (form contains an input with name="action" or name="id")
@@ -343,7 +343,7 @@ test( "attr(String, Object)", function() {
equal( $text.attr( "required", false ).attr("required"), undefined, "Setting required attribute to false removes it" );
var $details = jQuery("<details open></details>").appendTo("#qunit-fixture");
- equal( $details.attr("open"), "open", "open attribute presense indicates true" );
+ equal( $details.attr("open"), "open", "open attribute presence indicates true" );
equal( $details.attr( "open", false ).attr("open"), undefined, "Setting open attribute to false removes it" );
$text.attr( "data-something", true );