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: treeView.mainModule.treeView.find is not a function #56

Open
SJDSNL opened this issue Apr 13, 2017 · 3 comments
Open

Comments

@SJDSNL
Copy link

SJDSNL commented Apr 13, 2017

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Mac OS X 10.12.4
Thrown From: project-ring package 0.40.0

Stack Trace

Uncaught TypeError: treeView.mainModule.treeView.find is not a function

At /Users/Tijn/.atom/packages/project-ring/lib/project-ring.coffee:97

TypeError: treeView.mainModule.treeView.find is not a function
  at Object.initializePackage (/packages/project-ring/lib/project-ring.coffee:97:34)
  at /packages/project-ring/lib/project-ring.coffee:31:19

Commands

Non-Core Packages

busy-signal 1.3.0 
intentions 1.1.2 
linter 2.1.2 
linter-js-standard 3.9.0 
linter-php 1.3.2 
linter-phpmd 1.5.3 
linter-tidy 2.3.1 
linter-ui-default 1.2.2 
project-ring 0.40.0 
Remote-FTP 0.10.7 
@jbjhjm
Copy link

jbjhjm commented Apr 13, 2017

This is the reason: atom/tree-view#1032
jQuery is being removed from tree-view ... what a mess.
I began to fix some issues in that file but there are appearing more and more things to fix...
I don't have enough experience with coffee syntax to repair each of them in reasonable time.

Lines 89 / 97

`treeView.mainModule.treeView.find('.tree-view').on 'click keydown', (event) =>

becomes

treeView.mainModule.treeView.element.addEventListener 'click keydown', (event) =>
`

etc

@abraxxa
Copy link

abraxxa commented May 3, 2017

When will this issue be fixed?
Does someone know a similar but better maintained module?

@jbjhjm
Copy link

jbjhjm commented May 8, 2017

@abraxxa I switched to project-plus which works similar and pretty well for me.

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

3 participants