Remove remaining references to window global

This commit is contained in:
Antonio Scandurra
2015-10-14 09:50:50 +02:00
parent 0ea84ab192
commit f5f2d5dcd6

View File

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