We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The fonts.lied in the console is undefined.
I debugged the lie detection in fonts/index.ts:
... // detect lies const lied = ( lieProps['FontFace.load'] || lieProps['FontFace.family'] || lieProps['FontFace.status'] || lieProps['String.fromCodePoint'] || lieProps['CSSStyleDeclaration.setProperty'] || lieProps['CSS2Properties.setProperty'] ) console.log(lieProps['FontFace.load']) console.log(lieProps['FontFace.family']) console.log(lieProps['FontFace.status']) console.log(lieProps['String.fromCodePoint']) console.log(lieProps['CSSStyleDeclaration.setProperty']) console.log(lieProps['CSS2Properties.setProperty']) ...
all of these values are undefined. I couldn't figure out what might be the reason. Is this expected behaviour?
The text was updated successfully, but these errors were encountered:
It's needs fixing. It would be better to assign a boolean.
Sorry, something went wrong.
In other lie calculations, I saw the expression ... || false at the end. So would this be enough?
... || false
const lied = ( lieProps['FontFace.load'] || lieProps['FontFace.family'] || lieProps['FontFace.status'] || lieProps['String.fromCodePoint'] || lieProps['CSSStyleDeclaration.setProperty'] || lieProps['CSS2Properties.setProperty']) || false )
Yes, that works perfect.
Address abrahamjuliot#264: fix fonts.lied = undefined
d77b037
No branches or pull requests
The fonts.lied in the console is undefined.
I debugged the lie detection in fonts/index.ts:
all of these values are undefined. I couldn't figure out what might be the reason. Is this expected behaviour?
The text was updated successfully, but these errors were encountered: