Skip to content
New issue

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

argdown-map.js loads once for each argument map on the page #5

Open
DawnPaladin opened this issue Apr 22, 2021 · 0 comments
Open

argdown-map.js loads once for each argument map on the page #5

DawnPaladin opened this issue Apr 22, 2021 · 0 comments

Comments

@DawnPaladin
Copy link
Collaborator

argdown-map.js (a needed file for web components) is loaded once for each argument map on the page. This causes the error "Uncaught DOMException: CustomElementRegistry.define: 'argdown-map' has already been defined as a custom element" to appear in the developer console. To improve performance and clear the error, it should be loaded only once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant