💄 Use atom.getLoadSettings()

This commit is contained in:
Kevin Sawicki 2013-09-26 08:41:43 -07:00
parent 62278d9137
commit 6a65aad274

View File

@ -27,7 +27,7 @@ displayWindow = ->
# This method is called in any window needing a general environment, including specs
window.setUpEnvironment = (windowMode) ->
atom.windowMode = windowMode
window.resourcePath = remote.getCurrentWindow().loadSettings.resourcePath
window.resourcePath = atom.getLoadSettings().resourcePath
Syntax = require './syntax'