Skip to content

Commit

Permalink
Docs: Fix various spelling errors
Browse files Browse the repository at this point in the history
Closes gh-2761
  • Loading branch information
jsoref authored and dmethvin committed Jan 13, 2016
1 parent 36a7cf9 commit aae4411
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build/release/dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/deferred.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/unit/animation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down
2 changes: 1 addition & 1 deletion test/unit/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down
6 changes: 3 additions & 3 deletions test/unit/manipulation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) {
Expand Down

0 comments on commit aae4411

Please sign in to comment.