From 3675d7f6837e01a4237c91f325facf3037c030c5 Mon Sep 17 00:00:00 2001 From: Veeck Date: Thu, 28 Nov 2019 11:53:23 +0100 Subject: [PATCH] Cleanup feature-detects meta tags whitespace --- feature-detects/canvas/blending.js | 10 ++++----- feature-detects/contextmenu.js | 2 +- feature-detects/css/appearance.js | 2 +- feature-detects/css/backdropfilter.js | 10 ++++----- feature-detects/css/backgroundblendmode.js | 10 ++++----- feature-detects/css/backgroundcliptext.js | 4 ++-- feature-detects/css/boxsizing.js | 2 +- feature-detects/css/customproperties.js | 2 +- feature-detects/css/displayrunin.js | 2 +- feature-detects/css/fontdisplay.js | 2 +- feature-detects/css/fontface.js | 8 +++---- feature-detects/css/generatedcontent.js | 4 ++-- feature-detects/css/gradients.js | 4 ++-- feature-detects/css/hairline.js | 2 +- feature-detects/css/hyphens.js | 6 ++--- feature-detects/css/mask.js | 22 +++++++++---------- feature-detects/css/nthchild.js | 10 ++++----- feature-detects/css/pointerevents.js | 6 ++--- feature-detects/css/remunit.js | 2 +- feature-detects/css/resize.js | 2 +- feature-detects/css/scrollsnappoints.js | 2 +- feature-detects/css/shapes.js | 2 +- feature-detects/css/supports.js | 4 ++-- feature-detects/css/textalignlast.js | 2 +- .../css/transformstylepreserve3d.js | 2 +- feature-detects/css/vhunit.js | 2 +- feature-detects/css/vmaxunit.js | 2 +- feature-detects/css/vminunit.js | 2 +- feature-detects/css/vwunit.js | 2 +- feature-detects/css/wrapflow.js | 10 ++++----- feature-detects/custom-protocol-handler.js | 2 +- feature-detects/dom/passiveeventlisteners.js | 10 ++++----- feature-detects/elem/datalist.js | 2 +- feature-detects/elem/picture.js | 2 +- feature-detects/elem/template.js | 2 +- feature-detects/elem/track.js | 2 +- feature-detects/es6/promises.js | 4 ++-- .../event/deviceorientation-motion.js | 2 +- feature-detects/event/oninput.js | 4 ++-- feature-detects/exif-orientation.js | 2 +- feature-detects/forms/inputnumber-l10n.js | 2 +- feature-detects/gamepad.js | 2 +- feature-detects/hiddenscroll.js | 2 +- feature-detects/htmlimports.js | 10 ++++----- feature-detects/img/sizes.js | 4 ++-- feature-detects/img/srcset.js | 2 +- feature-detects/img/webp-alpha.js | 4 ++-- feature-detects/img/webp-animation.js | 2 +- feature-detects/img/webp-lossless.js | 2 +- feature-detects/intl.js | 2 +- feature-detects/network/beacon.js | 2 +- .../network/xhr-responsetype-json.js | 2 +- feature-detects/network/xhr2.js | 2 +- feature-detects/notification.js | 2 +- feature-detects/pagevisibility-api.js | 4 ++-- feature-detects/performance.js | 2 +- feature-detects/pointerevents.js | 16 +++++++------- feature-detects/proximity.js | 2 +- feature-detects/speech/speech-recognition.js | 10 ++++----- feature-detects/typed-arrays.js | 2 +- feature-detects/url/urlsearchparams.js | 10 ++++----- feature-detects/vibration.js | 2 +- feature-detects/vml.js | 2 +- 63 files changed, 132 insertions(+), 132 deletions(-) diff --git a/feature-detects/canvas/blending.js b/feature-detects/canvas/blending.js index 54aa2f8f..3c0d037b 100644 --- a/feature-detects/canvas/blending.js +++ b/feature-detects/canvas/blending.js @@ -5,11 +5,11 @@ "caniuse": "canvas-blending", "tags": ["canvas"], "notes": [{ - "name": "W3C Spec", - "href": "https://drafts.fxtf.org/compositing-1/" - },{ - "name": "Article", - "href": "https://web.archive.org/web/20171003232921/http://blogs.adobe.com/webplatform/2013/01/28/blending-features-in-canvas/" + "name": "W3C Spec", + "href": "https://drafts.fxtf.org/compositing-1/" + }, { + "name": "Article", + "href": "https://web.archive.org/web/20171003232921/http://blogs.adobe.com/webplatform/2013/01/28/blending-features-in-canvas/" }] } !*/ diff --git a/feature-detects/contextmenu.js b/feature-detects/contextmenu.js index 6d299a78..ac533f23 100644 --- a/feature-detects/contextmenu.js +++ b/feature-detects/contextmenu.js @@ -6,7 +6,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/html5/interactive-elements.html#context-menus" - },{ + }, { "name": "thewebrocks.com Demo", "href": "http://thewebrocks.com/demos/context-menu/" }], diff --git a/feature-detects/css/appearance.js b/feature-detects/css/appearance.js index 15b6b80d..33c1c75c 100644 --- a/feature-detects/css/appearance.js +++ b/feature-detects/css/appearance.js @@ -7,7 +7,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-appearance" - },{ + }, { "name": "CSS-Tricks CSS Almanac: appearance", "href": "https://css-tricks.com/almanac/properties/a/appearance/" }] diff --git a/feature-detects/css/backdropfilter.js b/feature-detects/css/backdropfilter.js index 6471a308..52c78310 100644 --- a/feature-detects/css/backdropfilter.js +++ b/feature-detects/css/backdropfilter.js @@ -6,11 +6,11 @@ "tags": ["css"], "caniuse": "css-backdrop-filter", "notes": [{ - "name": "W3C Editor’s Draft Spec", - "href": "https://drafts.fxtf.org/filters-2/#BackdropFilterProperty" - },{ - "name": "WebKit Blog introduction + Demo", - "href": "https://www.webkit.org/blog/3632/introducing-backdrop-filters/" + "name": "W3C Editor’s Draft Spec", + "href": "https://drafts.fxtf.org/filters-2/#BackdropFilterProperty" + }, { + "name": "WebKit Blog introduction + Demo", + "href": "https://www.webkit.org/blog/3632/introducing-backdrop-filters/" }] } !*/ diff --git a/feature-detects/css/backgroundblendmode.js b/feature-detects/css/backgroundblendmode.js index 38056b4f..6075fb20 100644 --- a/feature-detects/css/backgroundblendmode.js +++ b/feature-detects/css/backgroundblendmode.js @@ -5,11 +5,11 @@ "caniuse": "css-backgroundblendmode", "tags": ["css"], "notes": [{ - "name": "CSS Blend Modes could be the next big thing in Web Design", - "href": "https://medium.com/@bennettfeely/css-blend-modes-could-be-the-next-big-thing-in-web-design-6b51bf53743a" - },{ - "name": "Demo", - "href": "https://bennettfeely.com/gradients/" + "name": "CSS Blend Modes could be the next big thing in Web Design", + "href": "https://medium.com/@bennettfeely/css-blend-modes-could-be-the-next-big-thing-in-web-design-6b51bf53743a" + }, { + "name": "Demo", + "href": "https://bennettfeely.com/gradients/" }] } !*/ diff --git a/feature-detects/css/backgroundcliptext.js b/feature-detects/css/backgroundcliptext.js index 2774508d..adb83b06 100644 --- a/feature-detects/css/backgroundcliptext.js +++ b/feature-detects/css/backgroundcliptext.js @@ -7,10 +7,10 @@ "notes": [{ "name": "CSS Tricks Article", "href": "https://css-tricks.com/image-under-text/" - },{ + }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip" - },{ + }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/199" }] diff --git a/feature-detects/css/boxsizing.js b/feature-detects/css/boxsizing.js index ea85322e..7d928936 100644 --- a/feature-detects/css/boxsizing.js +++ b/feature-detects/css/boxsizing.js @@ -9,7 +9,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing" - },{ + }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/248" }] diff --git a/feature-detects/css/customproperties.js b/feature-detects/css/customproperties.js index 98e00d62..78e035f2 100644 --- a/feature-detects/css/customproperties.js +++ b/feature-detects/css/customproperties.js @@ -8,7 +8,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/--*" - },{ + }, { "name": "W3C Spec", "href": "https://drafts.csswg.org/css-variables/" }] diff --git a/feature-detects/css/displayrunin.js b/feature-detects/css/displayrunin.js index 943baa14..d07fa011 100644 --- a/feature-detects/css/displayrunin.js +++ b/feature-detects/css/displayrunin.js @@ -8,7 +8,7 @@ "notes": [{ "name": "CSS Tricks Article", "href": "https://web.archive.org/web/20111204150927/http://css-tricks.com:80/596-run-in/" - },{ + }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/198" }] diff --git a/feature-detects/css/fontdisplay.js b/feature-detects/css/fontdisplay.js index 155ec067..e809552f 100644 --- a/feature-detects/css/fontdisplay.js +++ b/feature-detects/css/fontdisplay.js @@ -7,7 +7,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://drafts.csswg.org/css-fonts-4/#font-display-desc" - },{ + }, { "name": "`font-display` for the masses", "href": "https://css-tricks.com/font-display-masses/" }] diff --git a/feature-detects/css/fontface.js b/feature-detects/css/fontface.js index e604e5a0..4fe111c9 100644 --- a/feature-detects/css/fontface.js +++ b/feature-detects/css/fontface.js @@ -11,16 +11,16 @@ "notes": [{ "name": "@font-face detection routine by Diego Perini", "href": "http://javascript.nwbox.com/CSSSupport/" - },{ + }, { "name": "Filament Group @font-face compatibility research", "href": "https://docs.google.com/presentation/d/1n4NyG4uPRjAA8zn_pSQ_Ket0RhcWC6QlZ6LMjKeECo0/edit#slide=id.p" - },{ + }, { "name": "Filament Grunticon/@font-face device testing results", "href": "https://docs.google.com/spreadsheet/ccc?key=0Ag5_yGvxpINRdHFYeUJPNnZMWUZKR2ItMEpRTXZPdUE#gid=0" - },{ + }, { "name": "CSS fonts on Android", "href": "https://stackoverflow.com/questions/3200069/css-fonts-on-android" - },{ + }, { "name": "@font-face and Android", "href": "http://archivist.incutio.com/viewlist/css-discuss/115960" }] diff --git a/feature-detects/css/generatedcontent.js b/feature-detects/css/generatedcontent.js index c6c2d963..3a3949d8 100644 --- a/feature-detects/css/generatedcontent.js +++ b/feature-detects/css/generatedcontent.js @@ -7,10 +7,10 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/css3-selectors/#gen-content" - },{ + }, { "name": "MDN Docs on :before", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::before" - },{ + }, { "name": "MDN Docs on :after", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/::after" }] diff --git a/feature-detects/css/gradients.js b/feature-detects/css/gradients.js index 8af64b79..dc9869d0 100644 --- a/feature-detects/css/gradients.js +++ b/feature-detects/css/gradients.js @@ -8,10 +8,10 @@ "notes": [{ "name": "Webkit Gradient Syntax", "href": "https://webkit.org/blog/175/introducing-css-gradients/" - },{ + }, { "name": "Linear Gradient Syntax", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient" - },{ + }, { "name": "W3C Spec", "href": "https://drafts.csswg.org/css-images-3/#gradients" }] diff --git a/feature-detects/css/hairline.js b/feature-detects/css/hairline.js index 169dcd23..9b0c3005 100644 --- a/feature-detects/css/hairline.js +++ b/feature-detects/css/hairline.js @@ -6,7 +6,7 @@ "notes": [{ "name": "Blog post about CSS retina hairlines", "href": "http://dieulot.net/css-retina-hairline" - },{ + }, { "name": "Derived from", "href": "https://gist.github.com/dieulot/520a49463f6058fbc8d1" }] diff --git a/feature-detects/css/hyphens.js b/feature-detects/css/hyphens.js index dfa7d8f7..3e96d994 100644 --- a/feature-detects/css/hyphens.js +++ b/feature-detects/css/hyphens.js @@ -15,13 +15,13 @@ "notes": [{ "name": "The Current State of Hyphenation on the Web.", "href": "https://davidnewton.ca/the-current-state-of-hyphenation-on-the-web" - },{ + }, { "name": "Hyphenation Test Page", "href": "https://web.archive.org/web/20150319125549/http://davidnewton.ca/demos/hyphenation/test.html" - },{ + }, { "name": "Hyphenation is Language Specific", "href": "https://code.google.com/p/hyphenator/source/diff?spec=svn975&r=975&format=side&path=/trunk/Hyphenator.js#sc_svn975_313" - },{ + }, { "name": "Related Modernizr Issue", "href": "https://github.com/Modernizr/Modernizr/issues/312" }] diff --git a/feature-detects/css/mask.js b/feature-detects/css/mask.js index bc148162..f7a38ad0 100644 --- a/feature-detects/css/mask.js +++ b/feature-detects/css/mask.js @@ -6,17 +6,17 @@ "tags": ["css"], "builderAliases": ["css_mask"], "notes": [{ - "name": "Webkit blog on CSS Masks", - "href": "https://webkit.org/blog/181/css-masks/" - },{ - "name": "Safari Docs", - "href": "https://developer.apple.com/library/archive/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html" - },{ - "name": "CSS SVG mask", - "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/mask" - },{ - "name": "Combine with clippaths for awesomeness", - "href": "https://web.archive.org/web/20150508193041/http://generic.cx:80/for/webkit/test.html" + "name": "Webkit blog on CSS Masks", + "href": "https://webkit.org/blog/181/css-masks/" + }, { + "name": "Safari Docs", + "href": "https://developer.apple.com/library/archive/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Masks/Masks.html" + }, { + "name": "CSS SVG mask", + "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/mask" + }, { + "name": "Combine with clippaths for awesomeness", + "href": "https://web.archive.org/web/20150508193041/http://generic.cx:80/for/webkit/test.html" }] } !*/ diff --git a/feature-detects/css/nthchild.js b/feature-detects/css/nthchild.js index 7b6a4087..36072281 100644 --- a/feature-detects/css/nthchild.js +++ b/feature-detects/css/nthchild.js @@ -5,11 +5,11 @@ "property": "nthchild", "tags": ["css"], "notes": [{ - "name": "Related Github Issue", - "href": "https://github.com/Modernizr/Modernizr/pull/685" - },{ - "name": "Sitepoint :nth-child documentation", - "href": "https://www.sitepoint.com/atoz-css-screencast-nth-child/" + "name": "Related Github Issue", + "href": "https://github.com/Modernizr/Modernizr/pull/685" + }, { + "name": "Sitepoint :nth-child documentation", + "href": "https://www.sitepoint.com/atoz-css-screencast-nth-child/" }], "authors": ["@emilchristensen"], "warnings": ["Known false negative in Safari 3.1 and Safari 3.2.2"] diff --git a/feature-detects/css/pointerevents.js b/feature-detects/css/pointerevents.js index 35ff7f60..43f49c5b 100644 --- a/feature-detects/css/pointerevents.js +++ b/feature-detects/css/pointerevents.js @@ -9,13 +9,13 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events" - },{ + }, { "name": "Test Project Page", "href": "https://ausi.github.com/Feature-detection-technique-for-pointer-events/" - },{ + }, { "name": "Test Project Wiki", "href": "https://github.com/ausi/Feature-detection-technique-for-pointer-events/wiki" - },{ + }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/80" }] diff --git a/feature-detects/css/remunit.js b/feature-detects/css/remunit.js index 96fb27ab..c0e3e323 100644 --- a/feature-detects/css/remunit.js +++ b/feature-detects/css/remunit.js @@ -9,7 +9,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/css3-values/#relative0" - },{ + }, { "name": "Font Size with rem by Jonathan Snook", "href": "https://snook.ca/archives/html_and_css/font-size-with-rem" }] diff --git a/feature-detects/css/resize.js b/feature-detects/css/resize.js index 699fc98f..50f6f849 100644 --- a/feature-detects/css/resize.js +++ b/feature-detects/css/resize.js @@ -8,7 +8,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/css3-ui/#resize" - },{ + }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en/CSS/resize" }] diff --git a/feature-detects/css/scrollsnappoints.js b/feature-detects/css/scrollsnappoints.js index c19e985e..bfcb984b 100644 --- a/feature-detects/css/scrollsnappoints.js +++ b/feature-detects/css/scrollsnappoints.js @@ -5,7 +5,7 @@ "notes": [{ "name": "Setting native-like scrolling offsets in CSS with Scrolling Snap Points", "href": "http://generatedcontent.org/post/66817675443/setting-native-like-scrolling-offsets-in-css-with" - },{ + }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Scroll_Snap_Points" }], diff --git a/feature-detects/css/shapes.js b/feature-detects/css/shapes.js index b7dd40d7..e728d61f 100644 --- a/feature-detects/css/shapes.js +++ b/feature-detects/css/shapes.js @@ -6,7 +6,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/css-shapes" - },{ + }, { "name": "Examples from Adobe", "href": "https://web.archive.org/web/20171230010236/http://webplatform.adobe.com:80/shapes" }, { diff --git a/feature-detects/css/supports.js b/feature-detects/css/supports.js index 82e08b1a..a8b86207 100644 --- a/feature-detects/css/supports.js +++ b/feature-detects/css/supports.js @@ -8,10 +8,10 @@ "notes": [{ "name": "W3C Spec (The @supports rule)", "href": "https://dev.w3.org/csswg/css3-conditional/#at-supports" - },{ + }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/648" - },{ + }, { "name": "W3C Spec (The CSSSupportsRule interface)", "href": "https://dev.w3.org/csswg/css3-conditional/#the-csssupportsrule-interface" }] diff --git a/feature-detects/css/textalignlast.js b/feature-detects/css/textalignlast.js index e83d2f0f..bbc2a04d 100644 --- a/feature-detects/css/textalignlast.js +++ b/feature-detects/css/textalignlast.js @@ -7,7 +7,7 @@ "notes": [{ "name": "Quirksmode", "href": "https://www.quirksmode.org/css/text/textalignlast.html" - },{ + }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/text-align-last" }] diff --git a/feature-detects/css/transformstylepreserve3d.js b/feature-detects/css/transformstylepreserve3d.js index ef6fccb6..139cd151 100755 --- a/feature-detects/css/transformstylepreserve3d.js +++ b/feature-detects/css/transformstylepreserve3d.js @@ -7,7 +7,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/CSS/transform-style" - },{ + }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/1748" }] diff --git a/feature-detects/css/vhunit.js b/feature-detects/css/vhunit.js index 9a780e0e..6183794c 100644 --- a/feature-detects/css/vhunit.js +++ b/feature-detects/css/vhunit.js @@ -8,7 +8,7 @@ "notes": [{ "name": "Related Modernizr Issue", "href": "https://github.com/Modernizr/Modernizr/issues/572" - },{ + }, { "name": "Similar JSFiddle", "href": "https://jsfiddle.net/FWeinb/etnYC/" }] diff --git a/feature-detects/css/vmaxunit.js b/feature-detects/css/vmaxunit.js index 69133af6..37cb1284 100644 --- a/feature-detects/css/vmaxunit.js +++ b/feature-detects/css/vmaxunit.js @@ -8,7 +8,7 @@ "notes": [{ "name": "Related Modernizr Issue", "href": "https://github.com/Modernizr/Modernizr/issues/572" - },{ + }, { "name": "JSFiddle Example", "href": "https://jsfiddle.net/glsee/JDsWQ/4/" }] diff --git a/feature-detects/css/vminunit.js b/feature-detects/css/vminunit.js index 3751c05a..01b67ba8 100644 --- a/feature-detects/css/vminunit.js +++ b/feature-detects/css/vminunit.js @@ -8,7 +8,7 @@ "notes": [{ "name": "Related Modernizr Issue", "href": "https://github.com/Modernizr/Modernizr/issues/572" - },{ + }, { "name": "JSFiddle Example", "href": "https://jsfiddle.net/glsee/JRmdq/8/" }] diff --git a/feature-detects/css/vwunit.js b/feature-detects/css/vwunit.js index ef20b6c4..279c4b8a 100644 --- a/feature-detects/css/vwunit.js +++ b/feature-detects/css/vwunit.js @@ -8,7 +8,7 @@ "notes": [{ "name": "Related Modernizr Issue", "href": "https://github.com/Modernizr/Modernizr/issues/572" - },{ + }, { "name": "JSFiddle Example", "href": "https://jsfiddle.net/FWeinb/etnYC/" }] diff --git a/feature-detects/css/wrapflow.js b/feature-detects/css/wrapflow.js index 01ead8aa..4c76f4ba 100644 --- a/feature-detects/css/wrapflow.js +++ b/feature-detects/css/wrapflow.js @@ -4,11 +4,11 @@ "property": "wrapflow", "tags": ["css"], "notes": [{ - "name": "W3C Spec", - "href": "https://www.w3.org/TR/css3-exclusions" - },{ - "name": "Example by Louie Rootfield", - "href": "https://webdesign.tutsplus.com/tutorials/css-exclusions--cms-28087" + "name": "W3C Spec", + "href": "https://www.w3.org/TR/css3-exclusions" + }, { + "name": "Example by Louie Rootfield", + "href": "https://webdesign.tutsplus.com/tutorials/css-exclusions--cms-28087" }] } !*/ diff --git a/feature-detects/custom-protocol-handler.js b/feature-detects/custom-protocol-handler.js index 248dd97c..ced72f5a 100644 --- a/feature-detects/custom-protocol-handler.js +++ b/feature-detects/custom-protocol-handler.js @@ -7,7 +7,7 @@ "notes": [{ "name": "WHATWG Spec", "href": "https://html.spec.whatwg.org/dev/system-state.html#custom-handlers" - },{ + }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/navigator.registerProtocolHandler" }] diff --git a/feature-detects/dom/passiveeventlisteners.js b/feature-detects/dom/passiveeventlisteners.js index 11df86b9..d722e71c 100644 --- a/feature-detects/dom/passiveeventlisteners.js +++ b/feature-detects/dom/passiveeventlisteners.js @@ -5,11 +5,11 @@ "authors": ["Rick Byers"], "name": "Passive event listeners", "notes": [{ - "name": "WHATWG Spec", - "href": "https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-passive" - },{ - "name": "WICG explainer", - "href": "https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md" + "name": "WHATWG Spec", + "href": "https://dom.spec.whatwg.org/#dom-addeventlisteneroptions-passive" + }, { + "name": "WICG explainer", + "href": "https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md" }] } !*/ diff --git a/feature-detects/elem/datalist.js b/feature-detects/elem/datalist.js index 2bb191b0..765d538b 100644 --- a/feature-detects/elem/datalist.js +++ b/feature-detects/elem/datalist.js @@ -9,7 +9,7 @@ "notes": [{ "name": "CSS Tricks Article", "href": "https://css-tricks.com/relevant-dropdowns-polyfill-for-datalist/" - },{ + }, { "name": "Mike Taylor Code", "href": "https://miketaylr.com/code/datalist.html" }] diff --git a/feature-detects/elem/picture.js b/feature-detects/elem/picture.js index 1ca9a824..d9030ed8 100644 --- a/feature-detects/elem/picture.js +++ b/feature-detects/elem/picture.js @@ -7,7 +7,7 @@ "notes": [{ "name": "WHATWG Spec", "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#embedded-content" - },{ + }, { "name": "Relevant spec issue", "href": "https://github.com/ResponsiveImagesCG/picture-element/issues/87" }] diff --git a/feature-detects/elem/template.js b/feature-detects/elem/template.js index f57e0dc3..2137de8b 100644 --- a/feature-detects/elem/template.js +++ b/feature-detects/elem/template.js @@ -6,7 +6,7 @@ "notes": [{ "name": "HTML5Rocks Article", "href": "https://www.html5rocks.com/en/tutorials/webcomponents/template/" - },{ + }, { "name": "W3C Spec", "href": "https://web.archive.org/web/20171130222649/http://www.w3.org/TR/html5/scripting-1.html" }] diff --git a/feature-detects/elem/track.js b/feature-detects/elem/track.js index 76fed721..8ae2bddc 100644 --- a/feature-detects/elem/track.js +++ b/feature-detects/elem/track.js @@ -8,7 +8,7 @@ "notes": [{ "name": "W3C Spec (Track Element)", "href": "https://web.archive.org/web/20121119095019/http://www.w3.org/TR/html5/the-track-element.html#the-track-element" - },{ + }, { "name": "W3C Spec (Track API)", "href": "https://web.archive.org/web/20121119094620/http://www.w3.org/TR/html5/media-elements.html#text-track-api" }], diff --git a/feature-detects/es6/promises.js b/feature-detects/es6/promises.js index 91afabd7..86d91453 100644 --- a/feature-detects/es6/promises.js +++ b/feature-detects/es6/promises.js @@ -9,10 +9,10 @@ "notes": [{ "name": "The ES6 promises spec", "href": "https://github.com/domenic/promises-unwrapping" - },{ + }, { "name": "Chromium dashboard - ES6 Promises", "href": "https://www.chromestatus.com/features/5681726336532480" - },{ + }, { "name": "JavaScript Promises: an Introduction", "href": "https://developers.google.com/web/fundamentals/primers/promises/" }] diff --git a/feature-detects/event/deviceorientation-motion.js b/feature-detects/event/deviceorientation-motion.js index 8a0fc784..042724b8 100644 --- a/feature-detects/event/deviceorientation-motion.js +++ b/feature-detects/event/deviceorientation-motion.js @@ -6,7 +6,7 @@ "notes": [{ "name": "W3C Editor's Draft Spec", "href": "https://w3c.github.io/deviceorientation/" - },{ + }, { "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/Detecting_device_orientation" }], diff --git a/feature-detects/event/oninput.js b/feature-detects/event/oninput.js index a2658ca7..f03db660 100644 --- a/feature-detects/event/oninput.js +++ b/feature-detects/event/oninput.js @@ -5,10 +5,10 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers.oninput" - },{ + }, { "name": "WHATWG Spec", "href": "https://html.spec.whatwg.org/multipage/input.html#common-input-element-attributes" - },{ + }, { "name": "Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/210" }], diff --git a/feature-detects/exif-orientation.js b/feature-detects/exif-orientation.js index fd93eae5..5ee321b2 100644 --- a/feature-detects/exif-orientation.js +++ b/feature-detects/exif-orientation.js @@ -9,7 +9,7 @@ "notes": [{ "name": "Article by Dave Perrett", "href": "https://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/" - },{ + }, { "name": "Article by Calvin Hass", "href": "https://www.impulseadventure.com/photo/exif-orientation.html" }] diff --git a/feature-detects/forms/inputnumber-l10n.js b/feature-detects/forms/inputnumber-l10n.js index cc00db78..e50745a4 100644 --- a/feature-detects/forms/inputnumber-l10n.js +++ b/feature-detects/forms/inputnumber-l10n.js @@ -7,7 +7,7 @@ "notes": [{ "name": "Webkit Bug Tracker Listing", "href": "https://bugs.webkit.org/show_bug.cgi?id=42484" - },{ + }, { "name": "Based on This", "href": "https://trac.webkit.org/browser/trunk/LayoutTests/fast/forms/script-tests/input-number-keyoperation.js?rev=80096#L9" }], diff --git a/feature-detects/gamepad.js b/feature-detects/gamepad.js index dd263e32..3569ba15 100644 --- a/feature-detects/gamepad.js +++ b/feature-detects/gamepad.js @@ -7,7 +7,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/gamepad/" - },{ + }, { "name": "HTML5 Rocks Tutorial", "href": "https://www.html5rocks.com/en/tutorials/doodles/gamepad/#toc-featuredetect" }] diff --git a/feature-detects/hiddenscroll.js b/feature-detects/hiddenscroll.js index 1e5aa919..6b1be8de 100644 --- a/feature-detects/hiddenscroll.js +++ b/feature-detects/hiddenscroll.js @@ -7,7 +7,7 @@ "notes": [{ "name": "Overlay Scrollbar description", "href": "https://developer.apple.com/library/mac/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_7.html#//apple_ref/doc/uid/TP40010355-SW39" - },{ + }, { "name": "Video example of overlay scrollbars", "href": "https://gfycat.com/FoolishMeaslyAtlanticsharpnosepuffer" }] diff --git a/feature-detects/htmlimports.js b/feature-detects/htmlimports.js index 81de9c3b..b62dfad3 100644 --- a/feature-detects/htmlimports.js +++ b/feature-detects/htmlimports.js @@ -5,11 +5,11 @@ "tags": ["html", "import"], "polyfills": ["polymer-htmlimports"], "notes": [{ - "name": "W3C Spec", - "href": "https://w3c.github.io/webcomponents/spec/imports/" - }, { - "name": "HTML Imports - #include for the web", - "href": "https://www.html5rocks.com/en/tutorials/webcomponents/imports/" + "name": "W3C Spec", + "href": "https://w3c.github.io/webcomponents/spec/imports/" + }, { + "name": "HTML Imports - #include for the web", + "href": "https://www.html5rocks.com/en/tutorials/webcomponents/imports/" }] } !*/ diff --git a/feature-detects/img/sizes.js b/feature-detects/img/sizes.js index 80988e17..501c11ec 100644 --- a/feature-detects/img/sizes.js +++ b/feature-detects/img/sizes.js @@ -8,10 +8,10 @@ "notes": [{ "name": "WHATWG Spec", "href": "https://html.spec.whatwg.org/multipage/embedded-content.html#the-img-element" - },{ + }, { "name": "Srcset and sizes", "href": "https://ericportis.com/posts/2014/srcset-sizes/" - }] + }] } !*/ /* DOC diff --git a/feature-detects/img/srcset.js b/feature-detects/img/srcset.js index 9d954879..e9c49dbe 100644 --- a/feature-detects/img/srcset.js +++ b/feature-detects/img/srcset.js @@ -7,7 +7,7 @@ "notes": [{ "name": "Smashing Magazine Article", "href": "https://www.smashingmagazine.com/2013/08/webkit-implements-srcset-and-why-its-a-good-thing/" - },{ + }, { "name": "Generate multi-resolution images for srcset with Grunt", "href": "https://addyosmani.com/blog/generate-multi-resolution-images-for-srcset-with-grunt/" }] diff --git a/feature-detects/img/webp-alpha.js b/feature-detects/img/webp-alpha.js index 88006e7a..dcc0eabc 100644 --- a/feature-detects/img/webp-alpha.js +++ b/feature-detects/img/webp-alpha.js @@ -9,10 +9,10 @@ "notes": [{ "name": "WebP Info", "href": "https://developers.google.com/speed/webp/" - },{ + }, { "name": "Article about WebP support", "href": "https://optimus.keycdn.com/support/webp-support/" - },{ + }, { "name": "Chromium WebP announcement", "href": "https://blog.chromium.org/2011/11/lossless-and-transparency-encoding-in.html?m=1" }] diff --git a/feature-detects/img/webp-animation.js b/feature-detects/img/webp-animation.js index 32a795f7..3162b807 100644 --- a/feature-detects/img/webp-animation.js +++ b/feature-detects/img/webp-animation.js @@ -9,7 +9,7 @@ "notes": [{ "name": "WebP Info", "href": "https://developers.google.com/speed/webp/" - },{ + }, { "name": "Chromium blog - Chrome 32 Beta: Animated WebP images and faster Chrome for Android touch input", "href": "https://blog.chromium.org/2013/11/chrome-32-beta-animated-webp-images-and.html" }] diff --git a/feature-detects/img/webp-lossless.js b/feature-detects/img/webp-lossless.js index b6dba1a7..fb399727 100644 --- a/feature-detects/img/webp-lossless.js +++ b/feature-detects/img/webp-lossless.js @@ -8,7 +8,7 @@ "notes": [{ "name": "Webp Info", "href": "https://developers.google.com/speed/webp/" - },{ + }, { "name": "Webp Lossless Spec", "href": "https://developers.google.com/speed/webp/docs/webp_lossless_bitstream_specification" }] diff --git a/feature-detects/intl.js b/feature-detects/intl.js index 9fe2588d..55a6445b 100644 --- a/feature-detects/intl.js +++ b/feature-detects/intl.js @@ -5,7 +5,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl" - },{ + }, { "name": "ECMAScript spec", "href": "https://www.ecma-international.org/ecma-402/1.0/" }] diff --git a/feature-detects/network/beacon.js b/feature-detects/network/beacon.js index ed48e1c3..743fb3e4 100644 --- a/feature-detects/network/beacon.js +++ b/feature-detects/network/beacon.js @@ -4,7 +4,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/navigator.sendBeacon" - },{ + }, { "name": "W3C Spec", "href": "https://w3c.github.io/beacon/" }], diff --git a/feature-detects/network/xhr-responsetype-json.js b/feature-detects/network/xhr-responsetype-json.js index a2a72422..40f61bc6 100644 --- a/feature-detects/network/xhr-responsetype-json.js +++ b/feature-detects/network/xhr-responsetype-json.js @@ -6,7 +6,7 @@ "notes": [{ "name": "WHATWG Spec", "href": "https://xhr.spec.whatwg.org/#the-responsetype-attribute" - },{ + }, { "name": "Explanation of xhr.responseType='json'", "href": "https://mathiasbynens.be/notes/xhr-responsetype-json" }] diff --git a/feature-detects/network/xhr2.js b/feature-detects/network/xhr2.js index 330b4cb6..6441ec3d 100644 --- a/feature-detects/network/xhr2.js +++ b/feature-detects/network/xhr2.js @@ -7,7 +7,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/XMLHttpRequest2/" - },{ + }, { "name": "Details on Related Github Issue", "href": "https://github.com/Modernizr/Modernizr/issues/385" }] diff --git a/feature-detects/notification.js b/feature-detects/notification.js index 175c77d8..1ff0edea 100644 --- a/feature-detects/notification.js +++ b/feature-detects/notification.js @@ -7,7 +7,7 @@ "notes": [{ "name": "HTML5 Rocks Tutorial", "href": "https://www.html5rocks.com/en/tutorials/notifications/quick/" - },{ + }, { "name": "W3C Spec", "href": "https://www.w3.org/TR/notifications/" }, { diff --git a/feature-detects/pagevisibility-api.js b/feature-detects/pagevisibility-api.js index 961a67af..0cf04b02 100644 --- a/feature-detects/pagevisibility-api.js +++ b/feature-detects/pagevisibility-api.js @@ -7,10 +7,10 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/DOM/Using_the_Page_Visibility_API" - },{ + }, { "name": "W3C Spec", "href": "https://www.w3.org/TR/2011/WD-page-visibility-20110602/" - },{ + }, { "name": "HTML5 Rocks Tutorial", "href": "https://www.html5rocks.com/en/tutorials/pagevisibility/intro/" }], diff --git a/feature-detects/performance.js b/feature-detects/performance.js index 00e6cab6..d6b3c4a3 100644 --- a/feature-detects/performance.js +++ b/feature-detects/performance.js @@ -8,7 +8,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/navigation-timing/" - },{ + }, { "name": "HTML5 Rocks Tutorial", "href": "https://www.html5rocks.com/en/tutorials/webperformance/basics/" }], diff --git a/feature-detects/pointerevents.js b/feature-detects/pointerevents.js index f0d4300e..22ceeee5 100644 --- a/feature-detects/pointerevents.js +++ b/feature-detects/pointerevents.js @@ -5,14 +5,14 @@ "tags": ["input"], "authors": ["Stu Cox"], "notes": [{ - "name": "W3C Spec (Pointer Events)", - "href": "https://www.w3.org/TR/pointerevents/" - },{ - "name": "W3C Spec (Pointer Events Level 2)", - "href": "https://www.w3.org/TR/pointerevents2/" - },{ - "name": "MDN Docs", - "href": "https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent" + "name": "W3C Spec (Pointer Events)", + "href": "https://www.w3.org/TR/pointerevents/" + }, { + "name": "W3C Spec (Pointer Events Level 2)", + "href": "https://www.w3.org/TR/pointerevents2/" + }, { + "name": "MDN Docs", + "href": "https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent" }], "warnings": ["This property name now refers to W3C DOM PointerEvents: https://github.com/Modernizr/Modernizr/issues/548#issuecomment-12812099"], "polyfills": ["pep"] diff --git a/feature-detects/proximity.js b/feature-detects/proximity.js index 1f3cdaab..c097f353 100644 --- a/feature-detects/proximity.js +++ b/feature-detects/proximity.js @@ -8,7 +8,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/API/Proximity_Events" - },{ + }, { "name": "W3C Spec", "href": "https://www.w3.org/TR/proximity/" }] diff --git a/feature-detects/speech/speech-recognition.js b/feature-detects/speech/speech-recognition.js index 1ceffe34..cd9e1c85 100644 --- a/feature-detects/speech/speech-recognition.js +++ b/feature-detects/speech/speech-recognition.js @@ -5,11 +5,11 @@ "authors": ["Cătălin Mariș"], "name": "Speech Recognition API", "notes": [{ - "name": "W3C Spec", - "href": "https://w3c.github.io/speech-api/speechapi.html#speechreco-section" - },{ - "name": "Introduction to the Web Speech API", - "href": "https://developers.google.com/web/updates/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API" + "name": "W3C Spec", + "href": "https://w3c.github.io/speech-api/speechapi.html#speechreco-section" + }, { + "name": "Introduction to the Web Speech API", + "href": "https://developers.google.com/web/updates/2013/01/Voice-Driven-Web-Apps-Introduction-to-the-Web-Speech-API" }] } !*/ diff --git a/feature-detects/typed-arrays.js b/feature-detects/typed-arrays.js index 364a6e02..416abdfb 100644 --- a/feature-detects/typed-arrays.js +++ b/feature-detects/typed-arrays.js @@ -8,7 +8,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays" - },{ + }, { "name": "Kronos spec", "href": "http://www.ecma-international.org/ecma-262/6.0/#sec-typedarray-objects" }], diff --git a/feature-detects/url/urlsearchparams.js b/feature-detects/url/urlsearchparams.js index 5f48a749..40dc917c 100644 --- a/feature-detects/url/urlsearchparams.js +++ b/feature-detects/url/urlsearchparams.js @@ -5,11 +5,11 @@ "authors": ["Cătălin Mariș"], "name": "URLSearchParams API", "notes": [{ - "name": "WHATWG Spec", - "href": "https://url.spec.whatwg.org/#interface-urlsearchparams" - },{ - "name": "MDN Docs", - "href": "https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams" + "name": "WHATWG Spec", + "href": "https://url.spec.whatwg.org/#interface-urlsearchparams" + }, { + "name": "MDN Docs", + "href": "https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams" }] } !*/ diff --git a/feature-detects/vibration.js b/feature-detects/vibration.js index ee715079..66bd624d 100644 --- a/feature-detects/vibration.js +++ b/feature-detects/vibration.js @@ -5,7 +5,7 @@ "notes": [{ "name": "MDN Docs", "href": "https://developer.mozilla.org/en/DOM/window.navigator.mozVibrate" - },{ + }, { "name": "W3C Spec", "href": "https://www.w3.org/TR/vibration/" }] diff --git a/feature-detects/vml.js b/feature-detects/vml.js index 98274a0e..c4783db3 100644 --- a/feature-detects/vml.js +++ b/feature-detects/vml.js @@ -7,7 +7,7 @@ "notes": [{ "name": "W3C Spec", "href": "https://www.w3.org/TR/NOTE-VML" - },{ + }, { "name": "MSDN Documentation", "href": "https://docs.microsoft.com/en-us/windows/desktop/VML/msdn-online-vml-introduction" }]