abe33 / atom-tree-view-breadcrumb

Display a breadcrumb on tree view scroll
MIT License
10 stars 3 forks source link

Fails to load tree-view module in 0.139.0 #1

Closed postcasio closed 9 years ago

postcasio commented 9 years ago

0.139.0 removes package.json files for core packages, meaning they can't be required normally. The fix is to use atom.packages.getLoadedPackage('tree-view')

See https://github.com/emmetio/emmet-atom/issues/155#issuecomment-60167542

abe33 commented 9 years ago

Thanks for the report, I just pushed a fix for that.

I had this kind of issues on several packages that were accessing bundled ones, I ended writing this small helper to solve this: https://gist.github.com/abe33/39a6fa3894592fa658be