From f5f2d5dcd60cebee687d50375ac180183c43d290 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 14 Oct 2015 09:50:50 +0200 Subject: [PATCH] Remove remaining references to window global --- src/atom-environment.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/atom-environment.coffee b/src/atom-environment.coffee index ed1271d8f..c6979a90f 100644 --- a/src/atom-environment.coffee +++ b/src/atom-environment.coffee @@ -574,8 +574,8 @@ class AtomEnvironment extends Model return if @inSpecMode() workspaceElement = @views.getView(@workspace) - backgroundColor = window.getComputedStyle(workspaceElement)['background-color'] - window.localStorage.setItem('atom:window-background-color', backgroundColor) + backgroundColor = @window.getComputedStyle(workspaceElement)['background-color'] + @window.localStorage.setItem('atom:window-background-color', backgroundColor) # Call this method when establishing a real application window. startEditorWindow: ->