Closed alanzanattadev closed 8 years ago
this was on the package upgrade?
Sorry for the answer time I was very busy, I don't know but it's here even after atom reloading.
Seems like in resizeNuclideTreeView you have a scope problem, I don't write coffeescript, but "->" is function() {} right ? The setTimeout callback is a new scope and "this" is not anymore your package scope. You have to use bind(this) to send the package scope to the setTimeout callback, this.getWidth will exist then :)
[Enter steps to reproduce below:]
Just Enable the package with Nuclide TreeView activated
Atom Version: 1.7.3 System: Ubuntu 16.04 Thrown From: tree-view-autoresize package, v1.1.0
Stack Trace
Uncaught TypeError: this.getWidth is not a function
Commands
Config
Installed Packages