Docs: Fix various spelling errors

Closes gh-2761
This commit is contained in:
Josh Soref 2015-12-04 06:49:23 +00:00 committed by Dave Methvin
parent 36a7cf9b1e
commit aae44111e2
6 changed files with 8 additions and 8 deletions

View File

@ -73,7 +73,7 @@ module.exports = function( Release, files, complete ) {
Release.exec( "git add .", "Error adding files." );
Release.exec(
"git commit -m 'Release " + Release.newVersion + "'",
"Error commiting files."
"Error committing files."
);
console.log();

View File

@ -135,7 +135,7 @@ jQuery.extend( {
// Handle all other returned values
} else {
// Only substitue handlers pass on context
// Only substitute handlers pass on context
// and multiple values (non-spec behavior)
if ( handler !== Identity ) {
that = undefined;

View File

@ -364,7 +364,7 @@ QUnit.module( "ajax", {
},
cache: false,
beforeSend: function( xhr, settings ) {
// Remove the random number, but ensure the cashe-buster param is there
// Remove the random number, but ensure the cache-buster param is there
var url = settings.url.replace( /\d+/, "" );
assert.equal( url, "data/name.html?abc&devo=hat&_=#brownies", "Make sure that the URL has its hash." );
return false;

View File

@ -169,7 +169,7 @@ QUnit.test( "Animation.prefilter - prefilter return hooks", function( assert ) {
);
assert.equal( TweenSpy.callCount, 0, "Returning something never creates tweens" );
// Test overriden usage on queues:
// Test overridden usage on queues:
prefilter.reset();
element = jQuery( "<div>" )
.css( "height", 50 )

View File

@ -484,7 +484,7 @@ QUnit.test( "isNumeric", function( assert ) {
assert.equal( t( true ), false, "Boolean true literal" );
assert.equal( t( false ), false, "Boolean false literal" );
assert.equal( t( "bcfed5.2" ), false, "Number with preceding non-numeric characters" );
assert.equal( t( "7.2acdgs" ), false, "Number with trailling non-numeric characters" );
assert.equal( t( "7.2acdgs" ), false, "Number with trailing non-numeric characters" );
assert.equal( t( undefined ), false, "Undefined value" );
assert.equal( t( null ), false, "Null value" );
assert.equal( t( NaN ), false, "NaN value" );

View File

@ -495,9 +495,9 @@ QUnit.test( "html(String) tag-hyphenated elements (Bug #1987)", function( assert
} );
var j = jQuery( "<tr-multiple-hyphens><td-with-hyphen>text</td-with-hyphen></tr-multiple-hyphens>" );
assert.ok( jQuery.nodeName( j[ 0 ], "TR-MULTIPLE-HYPHENS" ), "Tags with multiple hypens" );
assert.ok( jQuery.nodeName( j.children()[ 0 ], "TD-WITH-HYPHEN" ), "Tags with multiple hypens" );
assert.equal( j.children().text(), "text", "Tags with multiple hypens behave normally" );
assert.ok( jQuery.nodeName( j[ 0 ], "TR-MULTIPLE-HYPHENS" ), "Tags with multiple hyphens" );
assert.ok( jQuery.nodeName( j.children()[ 0 ], "TD-WITH-HYPHEN" ), "Tags with multiple hyphens" );
assert.equal( j.children().text(), "text", "Tags with multiple hyphens behave normally" );
} );
QUnit.test( "Tag name processing respects the HTML Standard (gh-2005)", function( assert ) {