diff options
author | Bruno Pérel <brunoperel@gmail.com> | 2015-07-30 15:34:34 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2015-07-30 15:51:44 +0200 |
commit | 6af92cafcadba74c22b8d94779472e1f71b99e30 (patch) | |
tree | 6bd4f5885c0dabde225738008617f8c6d01f0f35 /test | |
parent | 624d6a8580a7e1108c81a6a777dc1be3d408bddf (diff) | |
download | jquery-6af92cafcadba74c22b8d94779472e1f71b99e30.tar.gz jquery-6af92cafcadba74c22b8d94779472e1f71b99e30.zip |
Docs: Fix various spelling mistakes
(cherry-picked from 360a4780339b7f412b75ad8a06dca7f39616f654)
Closes gh-2487
Diffstat (limited to 'test')
-rw-r--r-- | test/data/support/csp.php | 2 | ||||
-rw-r--r-- | test/unit/css.js | 2 | ||||
-rw-r--r-- | test/unit/manipulation.js | 2 | ||||
-rw-r--r-- | test/unit/tween.js | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/test/data/support/csp.php b/test/data/support/csp.php index d01def783..0783e1774 100644 --- a/test/data/support/csp.php +++ b/test/data/support/csp.php @@ -1,5 +1,5 @@ <?php - # This test page checkes CSP only for browsers with "Content-Security-Policy" header support + # This test page checks CSP only for browsers with "Content-Security-Policy" header support # i.e. no old WebKit or old Firefox header("Content-Security-Policy: default-src 'self'; report-uri csp-log.php"); ?> diff --git a/test/unit/css.js b/test/unit/css.js index 74f66b8ed..43361e2d4 100644 --- a/test/unit/css.js +++ b/test/unit/css.js @@ -29,7 +29,7 @@ test("css(String|Hash)", function() { equal( div2.find("input").css("height"), "20px", "Height on hidden input." ); equal( div2.find("textarea").css("height"), "20px", "Height on hidden textarea." ); - equal( div2.find("div").css("height"), "20px", "Height on hidden textarea." ); + equal( div2.find("div").css("height"), "20px", "Height on hidden div." ); div2.remove(); diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js index c10534400..252051760 100644 --- a/test/unit/manipulation.js +++ b/test/unit/manipulation.js @@ -548,7 +548,7 @@ test( "html(String) tag-hyphenated elements (Bug #1987)", function() { var j = jQuery("<tr-multiple-hyphens><td-with-hyphen>text</td-with-hyphen></tr-multiple-hyphens>"); ok( jQuery.nodeName(j[0], "TR-MULTIPLE-HYPHENS"), "Tags with multiple hypens" ); ok( jQuery.nodeName(j.children()[0], "TD-WITH-HYPHEN"), "Tags with multiple hypens" ); - equal( j.children().text(), "text", "Tags with multple hypens behave normally" ); + equal( j.children().text(), "text", "Tags with multiple hypens behave normally" ); }); test( "IE8 serialization bug", function() { diff --git a/test/unit/tween.js b/test/unit/tween.js index 7d806fe6b..cbfdcb14c 100644 --- a/test/unit/tween.js +++ b/test/unit/tween.js @@ -290,7 +290,7 @@ test( "jQuery.Tween - custom propHooks - advanced values", function() { // Some day this NaN assumption might change - perhaps add a "calc" helper to the hooks? ok( isNaN( tween.now ), "Used return value from propHook.get" ); - equal( tween.pos, 0.5, "But the eased percent is still avaliable" ); + equal( tween.pos, 0.5, "But the eased percent is still available" ); ok( propHook.set.calledWith( tween ), "Called propHook.set function with correct parameters" ); delete jQuery.Tween.propHooks.testHooked; |