HTMLDocument.registerElement is deprecated.

Open
#2,785 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
tooling

Research direction

Start at static/index.js:99 and script-view.js:194, then inspect the atom-space-pen-views-plus stack shown in the report to identify where the deprecated registration is triggered. Reproduce the warning with the platformio-ide-terminal or X-TERMINAL packages and verify that the affected package no longer calls the deprecated API.

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:///opt/Pulsar/resources/app.asar/static/index.js:99:12)
f (/home/arda/.pulsar/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:87233)
e.openTag (/home/arda/.pulsar/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:91114)
e.tag (/home/arda/.pulsar/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:90760)
Function.pre (/home/arda/.pulsar/packages/script/node_modules/atom-space-pen-views-plus/lib/main.js:26:88521)
Function.<anonymous> (/home/arda/.pulsar/packages/script/lib/script-view.js:194:12)

WHAT İS THİS?
HOW TO FIX?
IF ANYONE USES PULSAR TEXT EDITOR, HOW DID YOU SOLVE THE PROBLEM?
platformio-ide-terminal THAT GIVEN THE PROBLEM
X-TERMINAL ALSO HAS PROBLEM
ARE THERE ANY ALTERNATIVES ON THE PACKAGES?
I AM TRYING TO RUN ONLY CALCULATOR IN "C" LANGUAGE?
I'M NEW ON THIS,PLEASE HELP!!

Dominant language
JavaScript
Stars
730
Forks
265
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from atom-community/atom-script

All issues in atom-community/atom-script

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.