Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Uncaught TypeError: s.nodeName.toLowerCase is not a function #306

Open
jaceklaskowski opened this issue Mar 17, 2020 · 1 comment
Open

Comments

@jaceklaskowski
Copy link

Description

This is a follow-up issue to atom/atom#20520 that was closed as "It appears that this is being caused by the asciidoc-preview package, not Atom itself."

Steps to reproduce:

  1. Create an asciidoc document with [[nodeName]] anchor
  2. Toggle preview using Asciidoc Preview plugin

Atom: 1.45.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.3
Thrown From: Atom Core

asciidoc-assistant 0.2.3
asciidoc-image-helper 1.0.1
asciidoc-preview 2.13.1
autocomplete-asciidoc 0.1.2
language-asciidoc 1.11.0
language-restructuredtext 1.1.2

Screenshots

image

Syntax example

[[nodeName]]
This causes an issue.

Stack Trace

Uncaught TypeError: s.nodeName.toLowerCase is not a function

At /Applications/Atom.app/Contents/Resources/app/static/<embedded>:14

TypeError: s.nodeName.toLowerCase is not a function
    at Object.extractEvents (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1963395)
    at Kd (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1952799)
    at Te (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:2038724)
    at Qd (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1953449)
    at Hc (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1954409)
    at Pd (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1953694)
    at e.unstable_runWithPriority (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:3391586)
    at Od (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:1953064)

Commands

     -0:40.4.0 project-find:show (input.hidden-input)
     -0:40 core:paste (input.hidden-input)
     -0:39.5.0 core:confirm (input.hidden-input)
     -0:38.1.0 core:move-up (div.results-view.focusable-panel)
     -0:36.7.0 core:confirm (div.results-view.focusable-panel)
     -0:35.3.0 core:move-right (input.hidden-input)
     -0:31.9.0 core:save (input.hidden-input)
     -0:26.7.0 core:backspace (input.hidden-input)
     -0:26.1.0 editor:consolidate-selections (input.hidden-input)
     -0:26.1.0 core:cancel (input.hidden-input)
     -0:24.9.0 core:save (input.hidden-input)
  2x -0:24.4.0 core:close (input.hidden-input)
  2x -0:22.2.0 core:move-right (input.hidden-input)
     -0:20.1.0 core:backspace (input.hidden-input)
  2x -0:19.8.0 core:save (input.hidden-input)
     -0:17 asciidoc-preview:toggle (input.hidden-input)
@ldez
Copy link
Member

ldez commented Mar 17, 2020

Hello,

I don't reproduce with 1.44.0 and for now I have an issue to install 1.45.0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants