mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Use parameter instead of ivar
This commit is contained in:
@@ -19,9 +19,9 @@ class FuzzyFinder extends DeferredAtomPackage
|
||||
new LoadPathsTask(rootView, callback).start()
|
||||
|
||||
onLoadEvent: (event, instance) ->
|
||||
if @projectPaths? and not @instance.projectPaths?
|
||||
@instance.projectPaths = @projectPaths
|
||||
@instance.reloadProjectPaths = false
|
||||
if @projectPaths? and not instance.projectPaths?
|
||||
instance.projectPaths = @projectPaths
|
||||
instance.reloadProjectPaths = false
|
||||
|
||||
switch event.type
|
||||
when 'fuzzy-finder:toggle-file-finder'
|
||||
|
||||
Reference in New Issue
Block a user