From e2b23cd522dab1a3700751b0e1c94d17b0abf18b Mon Sep 17 00:00:00 2001 From: Garen Torikian Date: Tue, 1 Oct 2013 17:53:55 -0700 Subject: [PATCH] Remove quotes from title string --- spec/root-view-spec.coffee | 2 +- src/root-view.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/root-view-spec.coffee b/spec/root-view-spec.coffee index 357d27fd0..5ce9de5f9 100644 --- a/spec/root-view-spec.coffee +++ b/spec/root-view-spec.coffee @@ -171,7 +171,7 @@ describe "RootView", -> it "update the title to contain the project's path", -> rootView.getActivePane().remove() expect(rootView.getActivePaneItem()).toBeUndefined() - expect(rootView.title).toBe "#{project.getPath()}" + expect(rootView.title).toBe project.getPath() describe "when an inactive pane's item changes", -> it "does not update the title", -> diff --git a/src/root-view.coffee b/src/root-view.coffee index 22c872e1a..27f6dcd43 100644 --- a/src/root-view.coffee +++ b/src/root-view.coffee @@ -195,7 +195,7 @@ class RootView extends View if item = @getActivePaneItem() @setTitle("#{item.getTitle?() ? 'untitled'} - #{projectPath}") else - @setTitle("#{projectPath}") + @setTitle(projectPath) else @setTitle('untitled')