HTMLDocument.registerElement is deprecated.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- tooling
Research direction
Start with lib/header-view.js at the content call shown in the stack trace, then inspect the atom-space-pen-views-plus code in node_modules where document.registerElement is reached. Confirm which project-owned entry point triggers the deprecated API and update the affected usage to customElements.define; done means the warning no longer appears when the header view opens.
Written by the indexing model from the issue text.
Description
Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements
HTMLDocument.registerElement (file:///C:/Users/Mbostik/AppData/Local/atom/app-1.63.1/resources/app.asar/static/index.js:160:12)
f (C:\Users\Mbostik\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:87233)
e.openTag (C:\Users\Mbostik\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:91114)
e.tag (C:\Users\Mbostik\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:90760)
Function.div (C:\Users\Mbostik\.atom\packages\script\node_modules\atom-space-pen-views-plus\lib\main.js:26:88521)
Function.content (C:\Users\Mbostik\.atom\packages\script\lib\header-view.js:48:19)
- Dominant language
- JavaScript
- Stars
- 730
- Forks
- 265
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from atom-community/atom-script
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
atom-community/atom-script#2816 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
atom-community/atom-script#2814 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
atom-community/atom-script#2813 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
atom-community/atom-script#2812 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
atom-community/atom-script#2811 · 1 comment ·
All issues in atom-community/atom-script
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·