jessegrosjean / foldingtext-for-atom

Outline editor with productivity features (No longer in development)
Other
40 stars 10 forks source link

Uncaught TypeError: Illegal invocation #74

Closed szhu closed 9 years ago

szhu commented 9 years ago

This bug is really weird because everything was working fine yesterday and now I can't use foldingtext :(

I haven't changed my setup at all since then, and was able to reproduce the issue on a clean setup.


Steps to reproduce:

  1. Make new user account.
  2. Download Atom and install foldingtext-for-atom and foldingtext-markdown.
  3. I already have Node v0.12.7 installed via Homebrew.
  4. File > New Outline.
  5. This: screen shot 2015-09-18 at 1 14 00 am

Atom Version: 1.0.13 System: Mac OS X 10.10.5 Thrown From: foldingtext-for-atom package, v0.9.0

Stack Trace

Uncaught TypeError: Illegal invocation

At /Users/Guest/.atom/packages/foldingtext-for-atom/lib/editor/outline-editor-element.coffee:844

TypeError: Illegal invocation
  at HTMLUListElement.EventRegistery.listen.mousedown (/Users/Guest/.atom/packages/foldingtext-for-atom/lib/editor/outline-editor-element.coffee:844:68)
  at EventRegistery.handleEvent (/Users/Guest/.atom/packages/foldingtext-for-atom/lib/editor/event-registery.coffee:114:33)
  at HTMLBodyElement.<anonymous> (/Users/Guest/.atom/packages/foldingtext-for-atom/lib/editor/event-registery.coffee:3:1)

Commands

     -0:47.9.0 settings-view:open (atom-pane.pane.active)
  3x -0:44.8.0 core:close (atom-text-editor.editor.is-focused)
     -0:28.3.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:04.7.0 core:close (div.settings-view.pane-item)
     -0:01.8.0 outline-editor:new-outline (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {}
}

Installed Packages

# User
foldingtext-for-atom, v0.9.0
foldingtext-markdown, v1.3.2

# Dev
No dev packages
JohnMurga commented 9 years ago

I am getting this on Windows today also, since I upgraded to the new Atom 1.0.13 build. Does not happen on Atom 1.0.11.

szhu commented 9 years ago

Can confirm that it does not error on 1.0.11.

Still errors on Atom 1.0.15.

jessegrosjean commented 9 years ago

This should be fixed in latest 0.9.2 release.