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

Commitf09d921

Browse files
authored
Docs: Update most URLs to HTTPS
Closesgh-4511
1 parent6eee5f7 commitf09d921

File tree

9 files changed

+29
-29
lines changed

9 files changed

+29
-29
lines changed

‎src/selector.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ var i,
4646

4747
// Regular expressions
4848

49-
//http://www.w3.org/TR/css3-selectors/#whitespace
49+
//https://www.w3.org/TR/css3-selectors/#whitespace
5050
whitespace="[\\x20\\t\\r\\n\\f]",
5151

5252
// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
5353
identifier="(?:\\\\[\\da-fA-F]{1,6}"+whitespace+
5454
"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",
5555

56-
// Attribute selectors:http://www.w3.org/TR/selectors/#attribute-selectors
56+
// Attribute selectors:https://www.w3.org/TR/selectors/#attribute-selectors
5757
attributes="\\["+whitespace+"*("+identifier+")(?:"+whitespace+
5858

5959
// Operator (capture 2)
@@ -116,7 +116,7 @@ var i,
116116
rsibling=/[+~]/,
117117

118118
// CSS escapes
119-
//http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
119+
//https://www.w3.org/TR/CSS21/syndata.html#escaped-characters
120120
runescape=newRegExp("\\\\[\\da-fA-F]{1,6}"+whitespace+
121121
"?|\\\\([^\\r\\n\\f])","g"),
122122
funescape=function(escape,nonHex){
@@ -786,7 +786,7 @@ Expr = jQuery.expr = {
786786
PSEUDO:function(pseudo,argument){
787787

788788
// pseudo-class names are case-insensitive
789-
//http://www.w3.org/TR/selectors/#pseudo-classes
789+
//https://www.w3.org/TR/selectors/#pseudo-classes
790790
// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
791791
// Remember that setFilters inherits from pseudos
792792
varargs,
@@ -876,7 +876,7 @@ Expr = jQuery.expr = {
876876
// or beginning with the identifier C immediately followed by "-".
877877
// The matching of C against the element's language value is performed case-insensitively.
878878
// The identifier C does not have to be a valid language name."
879-
//http://www.w3.org/TR/selectors/#lang-pseudo
879+
//https://www.w3.org/TR/selectors/#lang-pseudo
880880
lang:markFunction(function(lang){
881881

882882
// lang value must be a valid identifier
@@ -922,7 +922,7 @@ Expr = jQuery.expr = {
922922
checked:function(elem){
923923

924924
// In CSS3, :checked should return both checked and selected elements
925-
//http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
925+
//https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
926926
return(nodeName(elem,"input")&&!!elem.checked)||
927927
(nodeName(elem,"option")&&!!elem.selected);
928928
},
@@ -944,7 +944,7 @@ Expr = jQuery.expr = {
944944
// Contents
945945
empty:function(elem){
946946

947-
//http://www.w3.org/TR/selectors/#empty-pseudo
947+
//https://www.w3.org/TR/selectors/#empty-pseudo
948948
// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
949949
// but not by others (comment: 8; processing instruction: 7; etc.)
950950
// nodeType < 6 works because attributes (2) do not appear as children

‎test/data/manipulation/iframe-denied.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<script>
1212
varscript=document.getElementsByTagName("script")[0],
1313
div=document.createElement("div"),
14-
src="http://"+window.parent.externalHost,
14+
src="https://"+window.parent.externalHost,
1515
success=true,
1616
error="";
1717

‎test/data/qunit-fixture.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
<pid="firstp">See<aid="simon1"href="http://simon.incutio.com/archive/2003/03/25/#getElementsBySelector"rel="bookmark">this blog entry</a> for more information.</p>
1+
<pid="firstp">See<aid="simon1"href="https://simon.incutio.com/archive/2003/03/25/#getElementsBySelector"rel="bookmark">this blog entry</a> for more information.</p>
22
<pid="ap">
3-
Here are some [links] in a normal paragraph:<aid="google"href="http://www.google.com/"title="Google!">Google</a>,
4-
<aid="groups"href="http://groups.google.com/"class="GROUPS">Google Groups (Link)</a>.
5-
This link has<codeid="code1"><ahref="http://smin"id="anchor1">class="blog"</a></code>:
6-
<ahref="http://diveintomark.org/"class="blog"hreflang="en"id="mark">diveintomark</a>
3+
Here are some [links] in a normal paragraph:<aid="google"href="https://www.google.com/"title="Google!">Google</a>,
4+
<aid="groups"href="https://groups.google.com/"class="GROUPS">Google Groups (Link)</a>.
5+
This link has<codeid="code1"><ahref="https://smin"id="anchor1">class="blog"</a></code>:
6+
<ahref="https://diveintomark.org/"class="blog"hreflang="en"id="mark">diveintomark</a>
77

88
</p>
99
<divid="foo">
1010
<pid="sndp">Everything inside the red border is inside a div with<code>id="foo"</code>.</p>
11-
<plang="en"id="en">This is a normal link:<aid="yahoo"href="http://www.yahoo.com/"class="blogTest">Yahoo</a></p>
12-
<pid="sap">This link has<code><ahref="#2"id="anchor2">class="blog"</a></code>:<ahref="http://simon.incutio.com/"class="blog link"id="simon">Simon Willison's Weblog</a></p>
11+
<plang="en"id="en">This is a normal link:<aid="yahoo"href="https://www.yahoo.com/"class="blogTest">Yahoo</a></p>
12+
<pid="sap">This link has<code><ahref="#2"id="anchor2">class="blog"</a></code>:<ahref="https://simon.incutio.com/"class="blog link"id="simon">Simon Willison's Weblog</a></p>
1313

1414
</div>
1515
<divid="nothiddendiv"style="height:1px;background:white;"class="nothiddendiv">

‎test/data/qunit-fixture.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎test/data/testsuite.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ div#fx-tests div.noback {
113113
#nothiddendivchild.prct {font-size:150%; }
114114

115115
/* #9239 Attach a background to the body( avoid crashes in removing the test element in support ) */
116-
body,div {background:url(http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif) no-repeat-1000px0; }
116+
body,div {background:url(https://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif) no-repeat-1000px0; }
117117

118118
/* #10501 */
119119
section {background:#f0f;display:block; }

‎test/unit/ajax.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ QUnit.module( "ajax", {
503503
}
504504
),
505505
request(
506-
"http://otherdomain.com",
506+
"https://otherdomain.com",
507507
"Cross-domain url with leading space is detected as cross-domain"
508508
)
509509
];
@@ -1507,7 +1507,7 @@ QUnit.module( "ajax", {
15071507
return{
15081508

15091509
// see RFC 2606
1510-
url:"http://example.invalid",
1510+
url:"https://example.invalid",
15111511
error:function(xhr,_,e){
15121512
assert.ok(true,"file not found: "+xhr.status+" => "+e);
15131513
}
@@ -1516,7 +1516,7 @@ QUnit.module( "ajax", {
15161516

15171517
ajaxTest("jQuery.ajax() - failing cross-domain",1,function(assert){
15181518
return{
1519-
url:"http://"+externalHost,
1519+
url:"https://"+externalHost,
15201520
error:function(xhr,_,e){
15211521
assert.ok(true,"access denied: "+xhr.status+" => "+e);
15221522
}
@@ -2113,7 +2113,7 @@ if ( typeof window.ArrayBuffer === "undefined" || typeof new XMLHttpRequest().re
21132113
assert.strictEqual(status,"error","proper status");
21142114
}
21152115
},{
2116-
url:"http://"+externalHost+":80q",
2116+
url:"https://"+externalHost+":80q",
21172117
done:function(data){
21182118
assert.ok(false,"done: "+data);
21192119
},

‎test/unit/css.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@ QUnit.test(
15731573
// Firefox returns auto's value
15741574
name:"backgroundImage",
15751575
value:["url('test.png')","url("+baseURL+"test.png)","url(\""+baseURL+"test.png\")"],
1576-
expected:["none","url(\"http://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif\")"]
1576+
expected:["none","url(\"https://static.jquery.com/files/rocker/images/logo_jquery_215x53.gif\")"]
15771577
},{
15781578
name:"backgroundPosition",
15791579
value:["5% 5%"],

‎test/unit/manipulation.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ function testAppend( valueObj, assert ) {
244244
jQuery("<fieldset/>").appendTo("#form").append(valueObj("<legend id='legend'>test</legend>"));
245245
assert.t("Append legend","#legend",["legend"]);
246246

247-
$map=jQuery("<map/>").append(valueObj("<area id='map01' shape='rect' coords='50,50,150,150' href='http://www.jquery.com/' alt='jQuery'>"));
247+
$map=jQuery("<map/>").append(valueObj("<area id='map01' shape='rect' coords='50,50,150,150' href='https://www.jquery.com/' alt='jQuery'>"));
248248

249249
assert.equal($map[0].childNodes.length,1,"The area was inserted.");
250250
assert.equal($map[0].firstChild.nodeName.toLowerCase(),"area","The area was inserted.");
@@ -1474,7 +1474,7 @@ QUnit.test( "clone()", function( assert ) {
14741474
div.remove();
14751475

14761476
// Test both html() and clone() for <embed> and <object> types
1477-
div=jQuery("<div/>").html("<embed height='355' width='425' src='http://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'></embed>");
1477+
div=jQuery("<div/>").html("<embed height='355' width='425' src='https://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'></embed>");
14781478

14791479
clone=div.clone(true);
14801480
assert.equal(clone.length,1,"One element cloned");
@@ -1484,7 +1484,7 @@ QUnit.test( "clone()", function( assert ) {
14841484
// this is technically an invalid object, but because of the special
14851485
// classid instantiation it is the only kind that IE has trouble with,
14861486
// so let's test with it too.
1487-
div=jQuery("<div/>").html("<object height='355' width='425' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'> <param name='movie' value='http://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'> <param name='wmode' value='transparent'> </object>");
1487+
div=jQuery("<div/>").html("<object height='355' width='425' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'> <param name='movie' value='https://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'> <param name='wmode' value='transparent'> </object>");
14881488

14891489
clone=div.clone(true);
14901490
assert.equal(clone.length,1,"One element cloned");
@@ -1511,7 +1511,7 @@ QUnit.test( "clone()", function( assert ) {
15111511
})();
15121512

15131513
// and here's a valid one.
1514-
div=jQuery("<div/>").html("<object height='355' width='425' type='application/x-shockwave-flash' data='http://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'> <param name='movie' value='http://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'> <param name='wmode' value='transparent'> </object>");
1514+
div=jQuery("<div/>").html("<object height='355' width='425' type='application/x-shockwave-flash' data='https://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'> <param name='movie' value='https://www.youtube.com/v/3KANI2dpXLw&amp;hl=en'> <param name='wmode' value='transparent'> </object>");
15151515

15161516
clone=div.clone(true);
15171517
assert.equal(clone.length,1,"One element cloned");

‎test/unit/selector.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ QUnit.test( "attributes - equals", function( assert ) {
537537
assert.t("Identifier with underscore","input[id=types_all]",["types_all"]);
538538
assert.t("String","#qunit-fixture a[rel='bookmark']",["simon1"]);
539539
assert.t("String (whitespace ignored)","#qunit-fixture a[ rel = 'bookmark' ]",["simon1"]);
540-
assert.t("Non-identifier string","#qunit-fixture a[href='http://www.google.com/']",["google"]);
540+
assert.t("Non-identifier string","#qunit-fixture a[href='https://www.google.com/']",["google"]);
541541
assert.t("Empty string","#select1 option[value='']",["option1a"]);
542542

543543
if(QUnit.jQuerySelectors){
@@ -592,7 +592,7 @@ QUnit[ QUnit.jQuerySelectors ? "test" : "skip" ]( "attributes - does not equal",
592592
QUnit.test("attributes - starts with",function(assert){
593593
assert.expect(4);
594594

595-
assert.t("string (whitespace ignored)","a[href ^= 'http://www']",["google","yahoo"]);
595+
assert.t("string (whitespace ignored)","a[href ^= 'https://www']",["google","yahoo"]);
596596
assert.t("href starts with hash","p a[href^='#']",["anchor2"]);
597597
assert.t("string containing '['","input[name^='foo[']",["hidden2"]);
598598
assert.t("string containing '[' ... ']'","input[name^='foo[bar]']",["hidden2"]);
@@ -1014,7 +1014,7 @@ QUnit.test( "pseudo - misc", function( assert ) {
10141014
tmp.id="tmp_input";
10151015
tmp.innerHTML="<span>Hello I am focusable.</span>";
10161016
// Setting tabIndex should make the element focusable
1017-
//http://dev.w3.org/html5/spec/single-page.html#focus-management
1017+
//https://html.spec.whatwg.org/#the-tabindex-attribute
10181018
document.body.appendChild(tmp);
10191019
tmp.tabIndex=0;
10201020
tmp.focus();

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp