Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: this.action.disposalAction is not a function #19

Open
mekinus opened this issue Aug 16, 2019 · 3 comments
Open

Uncaught TypeError: this.action.disposalAction is not a function #19

mekinus opened this issue Aug 16, 2019 · 3 comments

Comments

@mekinus
Copy link

mekinus commented Aug 16, 2019

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.40.0 x64
Electron: 3.1.10
OS: Mac OS X 10.14.6
Thrown From: autoclose package 0.0.2

Stack Trace

Uncaught TypeError: this.action.disposalAction is not a function

At /Users/leonardorochacouto/.atom/packages/autoclose/lib/autoclose.coffee:39

TypeError: this.action.disposalAction is not a function
    at Object._paneItemChanged (/packages/autoclose/lib/autoclose.coffee:39:29)
    at /packages/autoclose/lib/autoclose.coffee:26:8
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1209208)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1210649)
    at Workspace.didChangeActivePaneItemOnPaneContainer (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:424404)
    at WorkspaceCenter.paneContainer.onDidChangeActivePaneItem.t (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:14:44396)
    at Function.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1209208)
    at Emitter.emit (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1210649)
    at PaneContainer.didChangeActiveItemOnPane (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:446737)
    at Pane.setActiveItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:455581)
    at Pane.activateItem (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:457751)
    at TabBarView.onClick (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1160295)

Commands

  3x -7:27.7.0 core:backspace (input.hidden-input)
     -7:24.8.0 core:save (input.hidden-input)
     -6:36.8.0 core:select-all (input.hidden-input)
     -6:36.4.0 core:backspace (input.hidden-input)
     -5:15.4.0 core:select-all (input.hidden-input)
     -5:14.3.0 core:copy (input.hidden-input)
     -5:02.2.0 core:paste (input.hidden-input)
     -5:00.5.0 core:save (input.hidden-input)
     -4:46.3.0 tree-view:copy-full-path (span.name.icon.icon-file-text)
  3x -3:22.6.0 core:backspace (input.hidden-input)
     -3:18.9.0 core:save (input.hidden-input)

Non-Core Packages

atom-beautify 0.33.4 
atom-ternjs 0.20.0 
autoclose 0.0.2 
busy-signal 2.0.1 
csslint 1.2.0 
emmet 2.4.3 
intentions 1.1.5 
linter 2.3.1 
linter-jshint 3.1.16 
linter-ui-default 1.7.1 
@mekinus
Copy link
Author

mekinus commented Aug 16, 2019

this red window keeps popping up everytime i click into a file tab in Atom

@ghost
Copy link

ghost commented Aug 17, 2019

same, please help

@javaskript
Copy link

javaskript commented Dec 8, 2019

My changes in 4f3fe85 from over a year ago fixed this issue, but it has not been merged into master. This error is simply due to the deprecation of dispoalAction. Just open autoclose.coffee and replace @action.disposalAction() with @action.dispose().

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

No branches or pull requests

2 participants