t9md / atom-cursor-history

Cursor position history manager
https://atom.io/packages/cursor-history
MIT License
59 stars 7 forks source link

Uncaught TypeError: target.closest is not a function #43

Open BuZZ-dEE opened 6 years ago

BuZZ-dEE commented 6 years ago

Used plugin ide-rust and set the toolchain to beta, after that I got the notification from Atom:

Switched Rls toolchain to beta Close and reopen editor windows or reload atom to ensure usage of the new toolchain

Clicked on "Reload" button. Error came up.

Atom: 1.23.1 x64 Electron: 1.6.15 OS: "Arch Linux" Thrown From: cursor-history package 0.12.0

Stack Trace

Uncaught TypeError: target.closest is not a function

At /home/buzz-dee/.atom/packages/cursor-history/lib/main.js:11

TypeError: target.closest is not a function
    at getClosestEditorForTarget (/packages/cursor-history/lib/main.js:11:26)
    at subscriptions.add.atom.commands.onWillDispatch (/packages/cursor-history/lib/main.js:165:24)
    at Function.module.exports.Emitter.simpleDispatch (/usr/lib/atom/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/usr/lib/atom/node_modules/event-kit/lib/emitter.js:141:28)
    at CommandRegistry.handleCommandEvent (/usr/lib/atom/src/command-registry.js:360:18)
    at CommandRegistry.dispatch (/usr/lib/atom/src/command-registry.js:273:17)
    at NotificationElement.onDidClick (/packages/ide-rust/lib/index.js:291:49)
    at HTMLAnchorElement.<anonymous> (/usr/lib/atom/node_modules/notifications/lib/notification-element.js:131:42)

Commands

Non-Core Packages

advanced-open-file 0.16.7 
adwaita-ui 0.30.0 
angularjs 0.5.1 
atom-beautify 0.30.9 
atom-ctags 5.1.2 
atom-easy-jsdoc 4.12.4 
atom-html-preview 0.2.5 
atom-ide-ui 0.7.0 
atom-pair 2.0.13 
atom-ternjs 0.18.3 
autocomplete-ctags 0.4.1 
autocomplete-html-entities 0.2.0 
autocomplete-modules 1.8.0 
autocomplete-php 0.3.7 
autocomplete-python 1.10.5 
autocomplete-ruby 0.2.8 
autocomplete-sass 0.1.0 
busy-signal 1.4.3 
color-picker 2.2.5 
cursor-history 0.12.0 
debugger 0.0.1 
docs-snippets 0.8.0 
dojo-complete 0.4.0 
editorconfig 2.2.2 
emmet 2.4.3 
external-open 0.6.3 
flow-ide 1.9.0 
format-sql 0.3.0 
git-blame 1.4.0 
git-plus 7.10.0 
git-time-machine 1.5.9 
go-debug 1.5.3 
go-plus 5.7.2 
go-signature-statusbar 1.2.3 
grunt-runner 0.14.0 
highlight-line 0.12.0 
highlight-selected 0.13.1 
hyperclick 0.0.0 
ide-crystal 0.2.3 
ide-css 0.2.0 
ide-go 0.4.0 
ide-html 0.4.1 
ide-java 0.7.0 
ide-json 0.1.0 
ide-python 0.4.0 
ide-ruby 0.1.7 
ide-rust 0.8.0 
ide-typescript 0.7.2 
intentions 1.1.5 
jquery-snippets 11.0.0 
js-hyperclick 1.12.2 
js-refactor 0.7.5 
language-babel 2.81.1 
language-ini 1.19.0 
language-rust 0.4.12 
language-cewe-svg 0.9.0 
latexer 0.3.0 
linter 2.2.0 
linter-coffeelint 1.3.1 
linter-csslint 2.0.0 
linter-eslint 8.4.0 
linter-golinter 1.2.2 
linter-htmlhint 1.4.0 
linter-jshint 3.1.6 
linter-python 3.1.2 
linter-ruby 1.2.6 
linter-rust 0.8.4 
linter-sass-lint 1.8.3 
linter-tslint 1.9.0 
linter-ui-default 1.6.10 
merge-conflicts 1.4.5 
meteor-api 2.20.0 
meteor-helper 0.29.0 
meteor-snippets 0.5.0 
minimap 4.29.7 
node-debugger 1.10.1 
open-file-in 1.2.3 
open-in-external-app 0.1.0 
path-open 0.1.0 
pigments 0.40.2 
pretty-json 1.6.4 
project-manager 3.3.5 
python-debugger 0.2.0 
python-indent 1.1.4 
python-tools 0.6.9 
refactor 0.11.5 
remote-edit 1.9.0 
svg-preview 0.12.1 
symbols-tree-view 0.14.0 
term3 0.22.1 
terminal-plus 0.14.5 
uglify 1.3.1 
xatom-debug 1.6.11 
xatom-debug-nodejs 0.9.3