Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function run() {
await fetch(new URL('../custom-elements.json', import.meta.url))
.then(handleAsJson)
.then(setCustomElements);
addDecorator(withA11y);
addParameters({
a11y: {
config: {},
options: {
checks: { 'color-contrast': { options: { noScroll: true } } },
restoreScroll: true
}
},
docs: {
iframeHeight: '200px'
}
});
}