aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-10-21 19:03:48 +0200
committerGitHub <noreply@github.com>2019-10-21 19:03:48 +0200
commitf09d92100ffff6208211b200ed0cdc39bfd17fc3 (patch)
treef04e3fdd77d99727b91ed4dfe4809abc0aa5dbb0 /src
parent6eee5f7f181f9ebf5aa428e96356667e3cf7ddbd (diff)
downloadjquery-f09d92100ffff6208211b200ed0cdc39bfd17fc3.tar.gz
jquery-f09d92100ffff6208211b200ed0cdc39bfd17fc3.zip
Docs: Update most URLs to HTTPS
Closes gh-4511
Diffstat (limited to 'src')
-rw-r--r--src/selector.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/selector.js b/src/selector.js
index badb3dd6c..8033f1115 100644
--- a/src/selector.js
+++ b/src/selector.js
@@ -46,14 +46,14 @@ var i,
// Regular expressions
- // http://www.w3.org/TR/css3-selectors/#whitespace
+ // https://www.w3.org/TR/css3-selectors/#whitespace
whitespace = "[\\x20\\t\\r\\n\\f]",
// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",
- // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors
+ // Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors
attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace +
// Operator (capture 2)
@@ -116,7 +116,7 @@ var i,
rsibling = /[+~]/,
// CSS escapes
- // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
+ // https://www.w3.org/TR/CSS21/syndata.html#escaped-characters
runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace +
"?|\\\\([^\\r\\n\\f])", "g" ),
funescape = function( escape, nonHex ) {
@@ -786,7 +786,7 @@ Expr = jQuery.expr = {
PSEUDO: function( pseudo, argument ) {
// pseudo-class names are case-insensitive
- // http://www.w3.org/TR/selectors/#pseudo-classes
+ // https://www.w3.org/TR/selectors/#pseudo-classes
// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
// Remember that setFilters inherits from pseudos
var args,
@@ -876,7 +876,7 @@ Expr = jQuery.expr = {
// or beginning with the identifier C immediately followed by "-".
// The matching of C against the element's language value is performed case-insensitively.
// The identifier C does not have to be a valid language name."
- // http://www.w3.org/TR/selectors/#lang-pseudo
+ // https://www.w3.org/TR/selectors/#lang-pseudo
lang: markFunction( function( lang ) {
// lang value must be a valid identifier
@@ -922,7 +922,7 @@ Expr = jQuery.expr = {
checked: function( elem ) {
// In CSS3, :checked should return both checked and selected elements
- // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
+ // https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
return ( nodeName( elem, "input" ) && !!elem.checked ) ||
( nodeName( elem, "option" ) && !!elem.selected );
},
@@ -944,7 +944,7 @@ Expr = jQuery.expr = {
// Contents
empty: function( elem ) {
- // http://www.w3.org/TR/selectors/#empty-pseudo
+ // https://www.w3.org/TR/selectors/#empty-pseudo
// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),
// but not by others (comment: 8; processing instruction: 7; etc.)
// nodeType < 6 works because attributes (2) do not appear as children