sommerper / filetype-color

Adds colors to file names in the side bar and panes of Atom editor
MIT License
25 stars 14 forks source link

colorAll - test if treeView is null, fixes #16 #27

Open phette23 opened 9 years ago

phette23 commented 9 years ago

colorAll now mimics clearAll by testing document.querySelector('.tree-view') first before doing anything, prevents the error where tree view is hidden and a call to treeView.querySelectorAll() still fires.