From fd6795e748208bc9fa352e780e94e01e81a5f8f7 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 4 Feb 2013 08:34:26 -0800 Subject: [PATCH] Use parameter instead of ivar --- src/packages/fuzzy-finder/index.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/packages/fuzzy-finder/index.coffee b/src/packages/fuzzy-finder/index.coffee index 66f212187..2f8cf6783 100644 --- a/src/packages/fuzzy-finder/index.coffee +++ b/src/packages/fuzzy-finder/index.coffee @@ -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'