From 4e3c5d2abaa34b30510a80065a197c4584618ee2 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 26 Sep 2013 08:45:54 -0700 Subject: [PATCH] Keep command install functions local --- src/window.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.coffee b/src/window.coffee index 9bf54ebed..4be27cdc4 100644 --- a/src/window.coffee +++ b/src/window.coffee @@ -89,11 +89,11 @@ window.unloadEditorWindow = -> window.rootView = null window.project = null -window.installAtomCommand = (callback) -> +installAtomCommand = (callback) -> commandPath = path.join(window.resourcePath, 'atom.sh') require('./command-installer').install(commandPath, callback) -window.installApmCommand = (callback) -> +installApmCommand = (callback) -> commandPath = path.join(window.resourcePath, 'node_modules', '.bin', 'apm') require('./command-installer').install(commandPath, callback)