mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-21 16:08:24 +03:00
Use parameter instead of ivar
This commit is contained in:
parent
299a45da57
commit
fd6795e748
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user