mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Fix various typos
Thanks @jamesgpearce, @vlajos, @imyousuf Closes gh-1828 Closes gh-1830 Closes gh-1844
This commit is contained in:
parent
1bbb678949
commit
dc4b914a05
@ -177,7 +177,7 @@ module.exports = function( grunt ) {
|
||||
// Check removeWith list
|
||||
excludeList( removeWith[ module ] );
|
||||
} else {
|
||||
grunt.log.error( "Module \"" + module + "\" is a mimimum requirement.");
|
||||
grunt.log.error( "Module \"" + module + "\" is a minimum requirement.");
|
||||
if ( module === "selector" ) {
|
||||
grunt.log.error(
|
||||
"If you meant to replace Sizzle, use -sizzle instead."
|
||||
|
@ -144,7 +144,7 @@ test("jQuery.data({})", 25, function() {
|
||||
test("jQuery.data(window)", 25, function() {
|
||||
// remove bound handlers from window object to stop potential false positives caused by fix for #5280 in
|
||||
// transports/xhr.js
|
||||
jQuery( window ).off( "unload" );
|
||||
jQuery( window ).off( "unload" );
|
||||
|
||||
dataTests( window );
|
||||
});
|
||||
@ -806,4 +806,4 @@ testIframeWithCallback( "enumerate data attrs on body (#14894)", "data/dataAttrs
|
||||
expect(1);
|
||||
|
||||
equal(result, "ok", "enumeration of data- attrs on body" );
|
||||
});
|
||||
});
|
||||
|
@ -30,7 +30,7 @@ test("id", function() {
|
||||
t( "ID Selector w/ Element", "body#body", ["body"] );
|
||||
t( "ID Selector w/ Element", "ul#first", [] );
|
||||
t( "ID selector with existing ID descendant", "#firstp #simon1", ["simon1"] );
|
||||
t( "ID selector with non-existant descendant", "#firstp #foobar", [] );
|
||||
t( "ID selector with non-existent descendant", "#firstp #foobar", [] );
|
||||
t( "ID selector using UTF8", "#台北Táiběi", ["台北Táiběi"] );
|
||||
t( "Multiple ID selectors using UTF8", "#台北Táiběi, #台北", ["台北Táiběi","台北"] );
|
||||
t( "Descendant ID selector using UTF8", "div #台北", ["台北"] );
|
||||
@ -55,7 +55,7 @@ test("id", function() {
|
||||
|
||||
t( "ID Selector on Form with an input that has a name of 'id'", "#lengthtest", ["lengthtest"] );
|
||||
|
||||
t( "ID selector with non-existant ancestor", "#asdfasdf #foobar", [] ); // bug #986
|
||||
t( "ID selector with non-existent ancestor", "#asdfasdf #foobar", [] ); // bug #986
|
||||
|
||||
t( "Underscore ID", "#types_all", ["types_all"] );
|
||||
t( "Dash ID", "#qunit-fixture", ["qunit-fixture"] );
|
||||
@ -138,7 +138,7 @@ test( "child and adjacent", function() {
|
||||
|
||||
nothiddendiv = document.getElementById("nothiddendiv");
|
||||
|
||||
t( "Non-existant ancestors", ".fototab > .thumbnails > a", [] );
|
||||
t( "Non-existent ancestors", ".fototab > .thumbnails > a", [] );
|
||||
});
|
||||
|
||||
test("attributes", function() {
|
||||
|
Loading…
Reference in New Issue
Block a user