olmokramer / atom-tree-view-git-branch

Switch git branches from the tree view
MIT License
9 stars 2 forks source link

Proton Edit > HTMLDocument.registerElement is deprecated. #20

Open ljsinclair opened 1 year ago

ljsinclair commented 1 year ago

Environment

Depreciation cop reports:

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

HTMLDocument.registerElement (file:///C:/Users/me/AppData/Local/Programs/pulsar/resources/app.asar/static/index.js:99:12)
Object.<anonymous> (C:\Users\me\.pulsar\packages\tree-view-git-branch\lib\tree-view-git-branch.js:11:10)
Object.<anonymous> (C:\Users\me\.pulsar\packages\tree-view-git-branch\lib\tree-view-git-branch.js:82:3)
Module._compile (C:\Users\me\AppData\Local\Programs\pulsar\resources\app.asar\src\native-compile-cache.js:120:30)
Object..js (C:\Users\me\AppData\Local\Programs\pulsar\resources\app.asar\src\compile-cache.js:252:23)
Module.load (internal/modules/cjs/loader.js:935:32)