Keep command install functions local

This commit is contained in:
Kevin Sawicki
2013-09-26 08:45:54 -07:00
parent 6a65aad274
commit 4e3c5d2aba

View File

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