Skip to content

Commit a747f33

Browse files
Nicholas-Engrejas
authored andcommitted
Issue 2338 - Cleanup JSdoc (Modernizr#2368)
* Convert jsdoc HTTP to HTTPS (Modernizr#2338) Convert http -> https in JSDocs. * Finish checking http hyperlinks in jsDocs - Links in jsDocs that are working but do not have HTTPS are left as is. - Dead links are replaced with archived links if obtainable, otherwise new links with similar information. * Fixes to some HTTPS Links - Fixing comments - Pointing to archived links - Replacing with new links * Fixing HTTPS:// links in jsDocs - Unify WFC comment name - Change some links to new redirected links - Change some links to acrhived links * Changing old links to new redirected links * Updates for pull request - Fix missing square bracket - Update generic names (i.e. WHATWG, MDN, Html5 Rocks) - Update archive links to most recent working links - Point link to direct issue for oninput.js
1 parent e14a7ae commit a747f33

File tree

146 files changed

+224
-231
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+224
-231
lines changed

feature-detects/a/download.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"tags": ["media", "attribute"],
77
"builderAliases": ["a_download"],
88
"notes": [{
9-
"name": "WhatWG Reference",
9+
"name": "WHATWG Spec",
1010
"href": "https://developers.whatwg.org/links.html#downloading-resources"
1111
}]
1212
}

feature-detects/ambientlight.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "Ambient Light Events",
44
"property": "ambientlight",
55
"notes": [{
6-
"name": "W3C Ambient Light Events",
6+
"name": "W3C Spec",
77
"href": "https://www.w3.org/TR/ambient-light/"
88
}]
99
}

feature-detects/applicationcache.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"caniuse": "offline-apps",
66
"tags": ["storage", "offline"],
77
"notes": [{
8-
"name": "MDN documentation",
8+
"name": "MDN Docs",
99
"href": "https://developer.mozilla.org/en/docs/HTML/Using_the_application_cache"
1010
}],
1111
"polyfills": ["html5gears"]

feature-detects/audio/webaudio.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"builderAliases": ["audio_webaudio_api"],
99
"authors": ["Addy Osmani"],
1010
"notes": [{
11-
"name": "W3 Spec",
11+
"name": "W3C Spec",
1212
"href": "https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html"
1313
}]
1414
}

feature-detects/battery.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"tags": ["device", "media"],
88
"authors": ["Paul Sayre", "Alex Bradley (@abrad1212)"],
99
"notes": [{
10-
"name": "MDN documentation",
10+
"name": "MDN Docs",
1111
"href": "https://developer.mozilla.org/en/DOM/window.navigator.mozBattery"
1212
}]
1313
}

feature-detects/blob.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"builderAliases": ["blob_constructor"],
77
"caniuse": "blobbuilder",
88
"notes": [{
9-
"name": "W3C spec",
9+
"name": "W3C Spec",
1010
"href": "https://w3c.github.io/FileAPI/#constructorBlob"
1111
}],
1212
"polyfills": ["blobjs"]

feature-detects/canvas/blending.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"property": "canvasblending",
55
"tags": ["canvas"],
66
"notes": [{
7-
"name": "HTML5 Spec",
8-
"href": "https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html#blending"
7+
"name": "W3C Spec",
8+
"href": "https://drafts.fxtf.org/compositing-1/"
99
},{
1010
"name": "Article",
11-
"href": "https://blogs.adobe.com/webplatform/2013/01/28/blending-features-in-canvas"
11+
"href": "https://web.archive.org/web/20171003232921/http://blogs.adobe.com/webplatform/2013/01/28/blending-features-in-canvas/"
1212
}]
1313
}
1414
!*/

feature-detects/canvas/todataurl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"tags": ["canvas"],
66
"builderAliases": ["canvas_todataurl_type"],
77
"notes": [{
8-
"name": "MDN article",
8+
"name": "MDN Docs",
99
"href": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement.toDataURL"
1010
}]
1111
}

feature-detects/canvas/winding.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"tags": ["canvas"],
66
"notes": [{
77
"name": "Article",
8-
"href": "https://blogs.adobe.com/webplatform/2013/01/30/winding-rules-in-canvas/"
8+
"href": "https://web.archive.org/web/20170825024655/http://blogs.adobe.com/webplatform/2013/01/30/winding-rules-in-canvas/"
99
}]
1010
}
1111
!*/

feature-detects/contenteditable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"property": "contenteditable",
55
"caniuse": "contenteditable",
66
"notes": [{
7-
"name": "WHATWG spec",
7+
"name": "WHATWG Spec",
88
"href": "https://html.spec.whatwg.org/multipage/interaction.html#contenteditable"
99
}]
1010
}

feature-detects/contextmenu.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"property": "contextmenu",
55
"caniuse": "menu",
66
"notes": [{
7-
"name": "W3C spec",
7+
"name": "W3C Spec",
88
"href": "https://www.w3.org/TR/html5/interactive-elements.html#context-menus"
99
},{
1010
"name": "thewebrocks.com Demo",
11-
"href": "https://thewebrocks.com/demos/context-menu/"
11+
"href": "http://thewebrocks.com/demos/context-menu/"
1212
}],
1313
"polyfills": ["jquery-contextmenu"]
1414
}

feature-detects/cors.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"caniuse": "cors",
66
"authors": ["Theodoor van Donge"],
77
"notes": [{
8-
"name": "MDN documentation",
8+
"name": "MDN Docs",
99
"href": "https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS"
1010
}],
1111
"polyfills": ["pmxdr", "ppx", "flxhr"]

feature-detects/crypto.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"tags": ["crypto"],
77
"authors": ["roblarsen"],
88
"notes": [{
9-
"name": "W3C Editor's Draft",
9+
"name": "W3C Editor's Draft Spec",
1010
"href": "https://www.w3.org/TR/WebCryptoAPI/"
1111
}],
1212
"polyfills": ["polycrypt"]

feature-detects/crypto/getrandomvalues.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"tags": ["crypto"],
77
"authors": ["komachi"],
88
"notes": [{
9-
"name": "W3C Editor’s Draft",
10-
"href": "https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#RandomSource-method-getRandomValues"
9+
"name": "W3C Editor’s Draft Spec",
10+
"href": "https://w3c.github.io/webcrypto/#Crypto-interface-methods"
1111
}],
1212
"polyfills": ["polycrypt"]
1313
}

feature-detects/css/animations.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"warnings": ["Android < 4 will pass this test, but can only animate a single property at a time"],
99
"notes": [{
1010
"name" : "Article: 'Dispelling the Android CSS animation myths'",
11-
"href": "https://goo.gl/OGw5Gm"
11+
"href": "https://web.archive.org/web/20180602074607/https://daneden.me/2011/12/14/putting-up-with-androids-bullshit/"
1212
}]
1313
}
1414
!*/

feature-detects/css/appearance.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"caniuse": "css-appearance",
66
"tags": ["css"],
77
"notes": [{
8-
"name": "MDN documentation",
8+
"name": "MDN Docs",
99
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-appearance"
1010
},{
1111
"name": "CSS-Tricks CSS Almanac: appearance",

feature-detects/css/backdropfilter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"tags": ["css"],
77
"caniuse": "css-backdrop-filter",
88
"notes": [{
9-
"name": "W3C Editor’s Draft specification",
9+
"name": "W3C Editor’s Draft Spec",
1010
"href": "https://drafts.fxtf.org/filters-2/#BackdropFilterProperty"
1111
},{
1212
"name": "WebKit Blog introduction + Demo",

feature-detects/css/backgroundblendmode.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"href": "https://medium.com/@bennettfeely/css-blend-modes-could-be-the-next-big-thing-in-web-design-6b51bf53743a"
1010
},{
1111
"name": "Demo",
12-
"href": "http://bennettfeely.com/gradients/"
12+
"href": "https://bennettfeely.com/gradients/"
1313
}]
1414
}
1515
!*/

feature-detects/css/backgroundposition-shorthand.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "MDN Docs",
99
"href": "https://developer.mozilla.org/en/CSS/background-position"
1010
}, {
11-
"name": "W3 Spec",
11+
"name": "W3C Spec",
1212
"href": "https://www.w3.org/TR/css3-background/#background-position"
1313
}, {
1414
"name": "Demo",

feature-detects/css/boxdecorationbreak.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/box-decoration-break"
1010
}, {
1111
"name": "Demo",
12-
"href": "http://jsbin.com/xojoro/edit?css,output"
12+
"href": "https://jsbin.com/xojoro/edit?css,output"
1313
}]
1414
}
1515
!*/

feature-detects/css/customproperties.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"tags": ["css"],
77
"builderAliases": ["css_customproperties"],
88
"notes": [{
9-
"name": "MDN",
9+
"name": "MDN Docs",
1010
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/--*"
1111
},{
12-
"name": "W3 Spec",
12+
"name": "W3C Spec",
1313
"href": "https://drafts.csswg.org/css-variables/"
1414
}]
1515
}

feature-detects/css/displayrunin.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"builderAliases": ["css_displayrunin"],
88
"notes": [{
99
"name": "CSS Tricks Article",
10-
"href": "https://css-tricks.com/596-run-in/"
10+
"href": "https://web.archive.org/web/20111204150927/http://css-tricks.com:80/596-run-in/"
1111
},{
1212
"name": "Related Github Issue",
1313
"href": "https://github.com/Modernizr/Modernizr/issues/198"

feature-detects/css/filters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"tags": ["css"],
88
"builderAliases": ["css_filters"],
99
"notes": [{
10-
"name": "MDN article on CSS filters",
10+
"name": "MDN Docs",
1111
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/filter"
1212
}]
1313
}

feature-detects/css/flexwrap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"property": "flexwrap",
55
"tags": ["css", "flexbox"],
66
"notes": [{
7-
"name": "W3C Flexible Box Layout spec",
7+
"name": "W3C Spec",
88
"href": "https://www.w3.org/TR/css-flexbox-1/"
99
}],
1010
"warnings": [

feature-detects/css/fontdisplay.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"authors": ["Patrick Kettner"],
66
"caniuse": "css-font-rendering-controls",
77
"notes": [{
8-
"name": "W3C CSS Fonts Module Level 4",
8+
"name": "W3C Spec",
99
"href": "https://drafts.csswg.org/css-fonts-4/#font-display-desc"
1010
},{
1111
"name": "`font-display` for the masses",

feature-detects/css/generatedcontent.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
"tags": ["css"],
66
"warnings": ["Android won't return correct height for anything below 7px #738"],
77
"notes": [{
8-
"name": "W3C CSS Selectors Level 3 spec",
8+
"name": "W3C Spec",
99
"href": "https://www.w3.org/TR/css3-selectors/#gen-content"
1010
},{
11-
"name": "MDN article on :before",
11+
"name": "MDN Docs on :before",
1212
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before"
1313
},{
14-
"name": "MDN article on :after",
15-
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before"
14+
"name": "MDN Docs on :after",
15+
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::after"
1616
}]
1717
}
1818
!*/

feature-detects/css/gradients.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"name": "Linear Gradient Syntax",
1313
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient"
1414
},{
15-
"name": "W3C Gradient Spec",
15+
"name": "W3C Spec",
1616
"href": "https://drafts.csswg.org/css-images-3/#gradients"
1717
}]
1818
}

feature-detects/css/hyphens.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
"authors": ["David Newton"],
1010
"warnings": [
1111
"These tests currently require document.body to be present",
12-
"If loading Hyphenator.js via yepnope, be cautious of issue 158: http://code.google.com/p/hyphenator/issues/detail?id=158",
12+
"If loading Hyphenator.js via yepnope, be cautious of issue 158: https://github.com/mnater/hyphenator/issues/158",
1313
"This is very large – only include it if you absolutely need it"
1414
],
1515
"notes": [{
1616
"name": "The Current State of Hyphenation on the Web.",
1717
"href": "https://davidnewton.ca/the-current-state-of-hyphenation-on-the-web"
1818
},{
1919
"name": "Hyphenation Test Page",
20-
"href": "http://davidnewton.ca/demos/hyphenation/test.html"
20+
"href": "https://web.archive.org/web/20150319125549/http://davidnewton.ca/demos/hyphenation/test.html"
2121
},{
2222
"name": "Hyphenation is Language Specific",
23-
"href": "http://code.google.com/p/hyphenator/source/diff?spec=svn975&r=975&format=side&path=/trunk/Hyphenator.js#sc_svn975_313"
23+
"href": "https://code.google.com/p/hyphenator/source/diff?spec=svn975&r=975&format=side&path=/trunk/Hyphenator.js#sc_svn975_313"
2424
},{
2525
"name": "Related Modernizr Issue",
2626
"href": "https://github.com/Modernizr/Modernizr/issues/312"

feature-detects/css/invalid.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"name": "CSS :invalid pseudo-class",
44
"property": "cssinvalid",
55
"notes": [{
6-
"name": "MDN documentation",
6+
"name": "MDN Docs",
77
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/:invalid"
88
}]
99
}

feature-detects/css/mask.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
"href": "https://webkit.org/blog/181/css-masks/"
1111
},{
1212
"name": "Safari Docs",
13-
"href": "https://developer.apple.com/library/safari/#documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html"
13+
"href": "https://developer.apple.com/library/archive/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html"
1414
},{
1515
"name": "CSS SVG mask",
1616
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/mask"
1717
},{
1818
"name": "Combine with clippaths for awesomeness",
19-
"href": "https://generic.cx/for/webkit/test.html"
19+
"href": "https://web.archive.org/web/20150508193041/http://generic.cx:80/for/webkit/test.html"
2020
}]
2121
}
2222
!*/

feature-detects/css/positionsticky.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"builderAliases": ["css_positionsticky"],
77
"notes": [{
88
"name": "Chrome bug report",
9-
"href":"https://code.google.com/p/chromium/issues/detail?id=322972"
9+
"href":"https://bugs.chromium.org/p/chromium/issues/detail?id=322972"
1010
}],
1111
"warnings": ["using position:sticky on anything but top aligned elements is buggy in Chrome < 37 and iOS <=7+"]
1212
}

feature-detects/css/regions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"tags": ["css"],
88
"builderAliases": ["css_regions"],
99
"notes": [{
10-
"name": "W3C Specification",
10+
"name": "W3C Spec",
1111
"href": "https://www.w3.org/TR/css3-regions/"
1212
}]
1313
}

feature-detects/css/resize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"tags": ["css"],
77
"builderAliases": ["css_resize"],
88
"notes": [{
9-
"name": "W3C Specification",
9+
"name": "W3C Spec",
1010
"href": "https://www.w3.org/TR/css3-ui/#resize"
1111
},{
1212
"name": "MDN Docs",

feature-detects/css/scrollsnappoints.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "Setting native-like scrolling offsets in CSS with Scrolling Snap Points",
77
"href": "http://generatedcontent.org/post/66817675443/setting-native-like-scrolling-offsets-in-css-with"
88
},{
9-
"name": "MDN Article",
9+
"name": "MDN Docs",
1010
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scroll_Snap_Points"
1111
}],
1212
"polyfills": ["scrollsnap"]

feature-detects/css/shapes.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"property": "shapes",
55
"tags": ["css"],
66
"notes": [{
7-
"name": "CSS Shapes W3C specification",
7+
"name": "W3C Spec",
88
"href": "https://www.w3.org/TR/css-shapes"
99
},{
1010
"name": "Examples from Adobe",
11-
"href": "http://webplatform.adobe.com/shapes/"
11+
"href": "https://web.archive.org/web/20171230010236/http://webplatform.adobe.com:80/shapes"
1212
}, {
13-
"name": "Samples showcasing uses of Shapes",
14-
"href": "http://codepen.io/collection/qFesk"
13+
"name": "Examples from CSS-Tricks",
14+
"href": "https://css-tricks.com/examples/ShapesOfCSS/"
1515
}]
1616
}
1717
!*/

feature-detects/css/supports.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66
"tags": ["css"],
77
"builderAliases": ["css_supports"],
88
"notes": [{
9-
"name": "W3 Spec",
10-
"href": "http://dev.w3.org/csswg/css3-conditional/#at-supports"
9+
"name": "W3C Spec",
10+
"href": "https://dev.w3.org/csswg/css3-conditional/#at-supports"
1111
},{
1212
"name": "Related Github Issue",
1313
"href": "https://github.com/Modernizr/Modernizr/issues/648"
1414
},{
15-
"name": "W3 Info",
16-
"href": "http://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface"
15+
"name": "W3C Spec",
16+
"href": "https://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface"
1717
}]
1818
}
1919
!*/

feature-detects/css/target.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"property": "target",
66
"tags": ["css"],
77
"notes": [{
8-
"name": "MDN documentation",
8+
"name": "MDN Docs",
99
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/:target"
1010
}],
1111
"authors": ["@zachleat"],

0 commit comments

Comments
 (0)