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

HTMLDocument.registerElement is deprecated. #2654

Open
BlackThunderZeus opened this issue Mar 6, 2022 · 1 comment
Open

HTMLDocument.registerElement is deprecated. #2654

BlackThunderZeus opened this issue Mar 6, 2022 · 1 comment

Comments

@BlackThunderZeus
Copy link

Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements

HTMLDocument.registerElement (file:///private/var/folders/5z/0c68yjc94vjb3qj9mgvtpq5c0000gn/T/AppTranslocation/788239B4-FD4D-4871-94CF-4958B1C62842/d/Atom%20Nightly.app/Contents/Resources/app.asar/static/index.js:160:12)
f (/Users/diaffaradiallo/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87233)
e.openTag (/Users/diaffaradiallo/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:91114)
e.tag (/Users/diaffaradiallo/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:90760)
Function.div (/Users/diaffaradiallo/.atom/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:88521)
Function.content (/Users/diaffaradiallo/.atom/packages/script/lib/header-view.js:48:19)
This was referenced Apr 15, 2024
This was referenced Apr 15, 2024
@idleberg
Copy link
Contributor

While this pack is affected by this deprecation, it needs to be fixed in the space-pen package. But since that has been deprecated by GitHub, the second best choice would be reporting this issue in the space-pen-plus. Once a fix is available, replacing the dependency on that package should be trivial.

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

2 participants