vincentcn / markdown-scroll-sync

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

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

Open G0808 opened 5 years ago

G0808 commented 5 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.41.0 x64 Electron: 4.2.7 OS: Unknown Windows version Thrown From: markdown-scroll-sync package 2.1.2

Stack Trace

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

At Right-hand side of 'instanceof' is not callable

TypeError: Right-hand side of 'instanceof' is not callable
    at /packages/markdown-scroll-sync/lib/main.coffee:38:14
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:11:1211909)
    at Emitter.emit (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:11:1213350)
    at Workspace.didChangeActivePaneItemOnPaneContainer (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:11:424688)
    at WorkspaceCenter.paneContainer.onDidChangeActivePaneItem.t (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:14:44396)
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:11:1211909)
    at Emitter.emit (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:11:1213350)
    at PaneContainer.didChangeActiveItemOnPane (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:11:447021)
    at PaneContainer.didActivatePane (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:11:446498)
    at Pane.activate (~/AppData/Local/atom/app-1.41.0/resources/app/static/<embedded>:11:463916)
    at addPreviewForEditor (/packages/markdown-preview-plus/lib/main.js:116:24)

Commands

     -0:47.4.0 markdown-preview-plus:toggle (input.hidden-input)

Non-Core Packages

ex-mode 0.18.0 
language-markdown 0.37.0 
markdown-image-paste 2.5.2 
markdown-preview-plus 3.11.0 
markdown-scroll-sync 2.1.2 
markdown-table-editor 1.1.2 
markdown-themeable-pdf 1.2.1 
pdf-view 0.72.0 
vim-mode-plus 1.36.2 
G0808 commented 5 years ago

need node.js https://nodejs.org/en/