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

Open zyutinjoeng opened 7 years ago

zyutinjoeng 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 (/private/var/folders/_m/8d0k9qb96xv6h0wbnvv6f7j80000gn/T/AppTranslocation/F19B598D-9A3D-4546-8B75-C65D1F0B13EA/d/Atom.app/Contents/Resources/app/src/text-editor-element.js:13:10)
MarkdownScrlSync.getVisTopHgtBot (/Users/zyu/.atom/packages/markdown-scroll-sync/lib/utils.coffee:20:33)
MarkdownScrlSync.setMap (/Users/zyu/.atom/packages/markdown-scroll-sync/lib/map.coffee:25:14)
MarkdownScrlSync.startTracking (/Users/zyu/.atom/packages/markdown-scroll-sync/lib/main.coffee:75:12)
<unknown> (/Users/zyu/.atom/packages/markdown-scroll-sync/lib/main.coffee:58:23)
Workspace.observeActivePaneItem (<embedded>:26435:13)
lucasvieites commented 7 years ago

duplicate of #94