diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2014-11-07 12:30:18 +0600 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2014-11-08 17:24:33 +0300 |
commit | dc4b914a05e1e6dbf13f916897b5d6a472ea0380 (patch) | |
tree | 167353be3840a2737645d6e3f37cf5d0a53e4adc | |
parent | 1bbb678949da480dce0d9ed3d0fb273bccce9787 (diff) | |
download | jquery-dc4b914a05e1e6dbf13f916897b5d6a472ea0380.tar.gz jquery-dc4b914a05e1e6dbf13f916897b5d6a472ea0380.zip |
Build: Fix various typos
Thanks @jamesgpearce, @vlajos, @imyousuf
Closes gh-1828
Closes gh-1830
Closes gh-1844
-rw-r--r-- | build/tasks/build.js | 2 | ||||
-rw-r--r-- | test/unit/data.js | 4 | ||||
-rw-r--r-- | test/unit/selector.js | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index a64481fe6..e1cf74118 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -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." diff --git a/test/unit/data.js b/test/unit/data.js index d3ae818ed..46a13adb9 100644 --- a/test/unit/data.js +++ b/test/unit/data.js @@ -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" ); -});
\ No newline at end of file +}); diff --git a/test/unit/selector.js b/test/unit/selector.js index e3830d9bd..12c26f1cb 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -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() { |