Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit620870a

Browse files
Docs: Fix typos found by codespell
Closesgh-5165
1 parent5701957 commit620870a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

‎src/manipulation/domManip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function domManip( collection, args, callback, ignored ) {
7575
if(hasScripts){
7676
doc=scripts[scripts.length-1].ownerDocument;
7777

78-
//Reenable scripts
78+
//Re-enable scripts
7979
jQuery.map(scripts,restoreScript);
8080

8181
// Evaluate executable scripts on first document insertion

‎test/unit/ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2711,7 +2711,7 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
27112711
});
27122712

27132713
QUnit.test(
2714-
"jQuery#load() - always use GET method even ifit overrided through ajaxSetup (trac-11264)",
2714+
"jQuery#load() - always use GET method even ifoverridden through ajaxSetup (trac-11264)",
27152715
function(assert){
27162716
assert.expect(1);
27172717
vardone=assert.async();

‎test/unit/css.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,13 +1409,13 @@ QUnit.testUnlessIE( "css('width') and css('height') should return fractional val
14091409
"css('height') should return fractional values");
14101410
});
14111411

1412-
QUnit.test("certain css values of 'normal' should beconvertable to a number, see trac-8627",function(assert){
1412+
QUnit.test("certain css values of 'normal' should beconvertible to a number, see trac-8627",function(assert){
14131413
assert.expect(3);
14141414

14151415
varel=jQuery("<div style='letter-spacing:normal;font-weight:normal;'>test</div>").appendTo("#qunit-fixture");
14161416

1417-
assert.ok(!isNaN(parseFloat(el.css("letterSpacing"))),"css('letterSpacing') notconvertable to number, see trac-8627");
1418-
assert.ok(!isNaN(parseFloat(el.css("fontWeight"))),"css('fontWeight') notconvertable to number, see trac-8627");
1417+
assert.ok(!isNaN(parseFloat(el.css("letterSpacing"))),"css('letterSpacing') notconvertible to number, see trac-8627");
1418+
assert.ok(!isNaN(parseFloat(el.css("fontWeight"))),"css('fontWeight') notconvertible to number, see trac-8627");
14191419
assert.equal(typeofel.css("fontWeight"),"string",".css() returns a string");
14201420
});
14211421

‎test/unit/traversing.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ QUnit[ QUnit.jQuerySelectors ? "test" : "skip" ]( "is() with :has() selectors",
190190

191191
assert.ok(jQuery("#foo").is(":has(p)"),"Check for child: Expected a child 'p' element");
192192
assert.ok(!jQuery("#foo").is(":has(ul)"),"Check for child: Did not expect 'ul' element");
193-
assert.ok(jQuery("#foo").is(":has(p):has(a):has(code)"),"Check forchilds: Expected 'p', 'a' and 'code' child elements");
194-
assert.ok(!jQuery("#foo").is(":has(p):has(a):has(code):has(ol)"),"Check forchilds: Expected 'p', 'a' and 'code' child elements, but no 'ol'");
193+
assert.ok(jQuery("#foo").is(":has(p):has(a):has(code)"),"Check forchildren: Expected 'p', 'a' and 'code' child elements");
194+
assert.ok(!jQuery("#foo").is(":has(p):has(a):has(code):has(ol)"),"Check forchildren: Expected 'p', 'a' and 'code' child elements, but no 'ol'");
195195

196196
assert.ok(jQuery("#foo").is(jQuery("div:has(p)")),"Check for child: Expected a child 'p' element");
197197
assert.ok(!jQuery("#foo").is(jQuery("div:has(ul)")),"Check for child: Did not expect 'ul' element");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp