vincentcn / markdown-scroll-sync

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

Uncaught TypeError: Right-hand side of 'instanceof' is not callable #1268

Open hunglin59638 opened 4 years ago

hunglin59638 commented 4 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.42.0 x64 Electron: 4.2.7 OS: Ubuntu 18.04.3 Thrown From: markdown-scroll-sync package 2.1.2

Stack Trace

Uncaught TypeError: Right-hand side of 'instanceof' is not callable

At /home/hunglin/.atom/packages/markdown-scroll-sync/lib/main.coffee:38

TypeError: Right-hand side of 'instanceof' is not callable
    at /packages/markdown-scroll-sync/lib/main.coffee:38:14
    at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1211760)
    at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1213201)
    at Workspace.didChangeActivePaneItemOnPaneContainer (/usr/share/atom/resources/app/static/<embedded>:11:424681)
    at WorkspaceCenter.paneContainer.onDidChangeActivePaneItem.t (/usr/share/atom/resources/app/static/<embedded>:14:44396)
    at Function.simpleDispatch (/usr/share/atom/resources/app/static/<embedded>:11:1211760)
    at Emitter.emit (/usr/share/atom/resources/app/static/<embedded>:11:1213201)
    at PaneContainer.didChangeActiveItemOnPane (/usr/share/atom/resources/app/static/<embedded>:11:447014)
    at Pane.setActiveItem (/usr/share/atom/resources/app/static/<embedded>:11:455858)
    at Pane.activateItem (/usr/share/atom/resources/app/static/<embedded>:11:458028)
    at TabBarView.onClick (/usr/share/atom/resources/app/static/<embedded>:11:1162847)

Commands

     -1:20.8.0 core:paste (input.hidden-input)

Non-Core Packages

atom-latex 0.8.11 
autocomplete-math 0.1.1 
autocomplete-python 1.16.0 
autocomplete-R 0.6.0 
kite 0.176.0 
markdown-preview-plus 3.11.5 
markdown-scroll-sync 2.1.2 
markdown-table-editor 1.1.2 
markdown-writer 2.11.9 
tool-bar 1.2.0 
tool-bar-markdown-writer 0.5.0 
johnblommers commented 4 years ago

I get the same error now too.