vincentcn / markdown-scroll-sync

Auto-scroll markdown-preview tab to match markdown source
MIT License
95 stars 26 forks source link

HTMLElement.shadowRoot is deprecated. #171

Open Becomebright opened 7 years ago

Becomebright commented 7 years ago

The contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. Please, stop using shadowRoot and access the editor contents directly instead.

HTMLElement.shadowRoot (C:\Users\dsz62\AppData\Local\atom\app-1.19.3\resources\app\src\text-editor-element.js:13:10)
MarkdownScrlSync.getVisTopHgtBot (C:\Users\dsz62\.atom\packages\markdown-scroll-sync\lib\utils.coffee:20:33)
MarkdownScrlSync.setMap (C:\Users\dsz62\.atom\packages\markdown-scroll-sync\lib\map.coffee:25:14)
MarkdownScrlSync.startTracking (C:\Users\dsz62\.atom\packages\markdown-scroll-sync\lib\main.coffee:75:12)
<unknown> (C:\Users\dsz62\.atom\packages\markdown-scroll-sync\lib\main.coffee:58:23)
Function.module.exports.Emitter.simpleDispatch (<embedded>:63437:20)
lucasvieites commented 7 years ago

duplicate of #94