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

Commit4a29888

Browse files
DimitriPapadopoulosmgol
authored andcommitted
Docs: Fix typos found by codespell
Closesgh-5165(cherry picked from commit620870a)
1 parent5aa7d93 commit4a29888

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

‎src/manipulation.js

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

180-
//Reenable scripts
180+
//Re-enable scripts
181181
jQuery.map(scripts,restoreScript);
182182

183183
// 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
@@ -2586,7 +2586,7 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
25862586
});
25872587

25882588
QUnit.test(
2589-
"jQuery#load() - always use GET method even ifit overrided through ajaxSetup (trac-11264)",
2589+
"jQuery#load() - always use GET method even ifoverridden through ajaxSetup (trac-11264)",
25902590
function(assert){
25912591
assert.expect(1);
25922592
vardone=assert.async();

‎test/unit/css.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,13 +1446,13 @@ testIframe(
14461446
});
14471447
})();
14481448

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

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

1454-
assert.ok(!isNaN(parseFloat(el.css("letterSpacing"))),"css('letterSpacing') notconvertable to number, see trac-8627");
1455-
assert.ok(!isNaN(parseFloat(el.css("fontWeight"))),"css('fontWeight') notconvertable to number, see trac-8627");
1454+
assert.ok(!isNaN(parseFloat(el.css("letterSpacing"))),"css('letterSpacing') notconvertible to number, see trac-8627");
1455+
assert.ok(!isNaN(parseFloat(el.css("fontWeight"))),"css('fontWeight') notconvertible to number, see trac-8627");
14561456
assert.equal(typeofel.css("fontWeight"),"string",".css() returns a string");
14571457
});
14581458

‎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