mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
💄 Use atom.getLoadSettings()
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user