Discard changes to src/vector/index.ts

This commit is contained in:
Michael Telatynski 2026-02-09 10:11:26 +00:00 committed by GitHub
parent 731f73ebb2
commit b071ea8c59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -82,12 +82,13 @@ function checkBrowserFeatures(): boolean {
for (const feature of featureList) {
if (window.Modernizr[feature] === undefined) {
logger.error(
`Looked for feature '${feature}' but Modernizr has no results for this. Has it been configured correctly?`,
"Looked for feature '%s' but Modernizr has no results for this. " + "Has it been configured correctly?",
feature,
);
return false;
}
if (window.Modernizr[feature] === false) {
logger.error(`Browser missing feature: '${feature}'`);
logger.error("Browser missing feature: '%s'", feature);
// toggle flag rather than return early so we log all missing features rather than just the first.
featureComplete = false;
}