From 6a65aad2746d5cdd55fc55e49189848d1b71a98f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 26 Sep 2013 08:41:43 -0700 Subject: [PATCH] :lipstick: Use atom.getLoadSettings() --- src/window.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.coffee b/src/window.coffee index 4835f6cf7..9bf54ebed 100644 --- a/src/window.coffee +++ b/src/window.coffee @@ -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'