aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruno Pérel <brunoperel@gmail.com>2015-07-30 15:34:34 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2015-07-30 15:47:23 +0200
commit360a4780339b7f412b75ad8a06dca7f39616f654 (patch)
tree78f8d19b09232c54ad72f2e8245c58d68305bf00
parent5fe76c663f8a4986af62edb434a1708c006d0b21 (diff)
downloadjquery-360a4780339b7f412b75ad8a06dca7f39616f654.tar.gz
jquery-360a4780339b7f412b75ad8a06dca7f39616f654.zip
Docs: Fix various spelling mistakes
Closes gh-2487
-rw-r--r--build/release/dist.js2
-rw-r--r--test/data/support/csp.php2
-rw-r--r--test/unit/css.js2
-rw-r--r--test/unit/event.js2
-rw-r--r--test/unit/manipulation.js2
-rw-r--r--test/unit/tween.js2
6 files changed, 6 insertions, 6 deletions
diff --git a/build/release/dist.js b/build/release/dist.js
index f17ea4ba7..8ef6faf86 100644
--- a/build/release/dist.js
+++ b/build/release/dist.js
@@ -5,7 +5,7 @@ module.exports = function( Release, complete ) {
shell = require( "shelljs" ),
pkg = require( Release.dir.repo + "/package.json" ),
distRemote = Release.remote.replace( "jquery.git", "jquery-dist.git" ),
- // These files are included with the distrubtion
+ // These files are included with the distribution
files = [
"src",
"LICENSE.txt",
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 181695b70..b4337a1ea 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/event.js b/test/unit/event.js
index ba3d9481a..46a9d7269 100644
--- a/test/unit/event.js
+++ b/test/unit/event.js
@@ -2725,7 +2725,7 @@ test( "Donor event interference", function( assert ) {
jQuery( "#donor-input" )[ 0 ].click();
} );
-test( "originalEvent property for Chrome, Safari and FF of simualted event", function( assert ) {
+test( "originalEvent property for Chrome, Safari and FF of simulated event", function( assert ) {
var userAgent = window.navigator.userAgent;
if ( !(/chrome/i.test( userAgent ) ||
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index fffbf38ce..7befa29c4 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -498,7 +498,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 39894c575..1386c2878 100644
--- a/test/unit/tween.js
+++ b/test/unit/tween.js
@@ -289,7 +289,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;