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. #30

Open
axedre opened this issue Apr 12, 2022 · 1 comment
Open

HTMLDocument.registerElement is deprecated. #30

axedre opened this issue Apr 12, 2022 · 1 comment

Comments

@axedre
Copy link

axedre commented Apr 12, 2022

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

HTMLDocument.registerElement (file:///usr/lib/atom/static/index.js:166:12)
Object.<anonymous> (/home/andrea/.atom/packages/auto-detect-indentation/lib/indentation-status-view.coffee:151:29)
Object.<anonymous> (/home/andrea/.atom/packages/auto-detect-indentation/lib/indentation-status-view.coffee:155:4)
Object.<anonymous> (/home/andrea/.atom/packages/auto-detect-indentation/lib/indentation-status-view.coffee:159:3)
Module._compile (/usr/lib/atom/src/native-compile-cache.js:120:30)
Object..coffee (/usr/lib/atom/src/compile-cache.js:252:23)
@jtokoph
Copy link
Owner

jtokoph commented Apr 12, 2022

I no longer use Atom and probably won’t have an opportunity to update and test a change.

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