mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Fix CSS variable support check
This commit is contained in:
parent
6d5a278941
commit
05aaf5eedd
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@
|
||||||
matchMedia: !!window.matchMedia
|
matchMedia: !!window.matchMedia
|
||||||
insertAdjacentHTML: !!document.body.insertAdjacentHTML
|
insertAdjacentHTML: !!document.body.insertAdjacentHTML
|
||||||
defaultPrevented: document.createEvent('CustomEvent').defaultPrevented is false
|
defaultPrevented: document.createEvent('CustomEvent').defaultPrevented is false
|
||||||
cssVariables: CSS.supports and CSS.supports('--t:0')
|
cssVariables: CSS.supports and CSS.supports('--t', '0')
|
||||||
|
|
||||||
for key, value of features when not value
|
for key, value of features when not value
|
||||||
Raven.captureMessage "unsupported/#{key}", level: 'info'
|
Raven.captureMessage "unsupported/#{key}", level: 'info'
|
||||||
|
|
Loading…
Reference in a new issue