Use parameter instead of ivar

This commit is contained in:
Kevin Sawicki 2013-02-04 08:34:26 -08:00
parent 299a45da57
commit fd6795e748

View File

@ -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'