mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Fix remaining tests
This commit is contained in:
@@ -792,8 +792,13 @@ class AtomEnvironment extends Model
|
||||
uninstallUncaughtErrorHandler: ->
|
||||
@window.onerror = @previousWindowErrorHandler
|
||||
|
||||
installWindowEventHandler: ->
|
||||
@windowEventHandler = new WindowEventHandler({atomEnvironment: this, @applicationDelegate})
|
||||
@windowEventHandler.initialize(@window, @document)
|
||||
|
||||
uninstallWindowEventHandler: ->
|
||||
@windowEventHandler?.unsubscribe()
|
||||
@windowEventHandler = null
|
||||
|
||||
###
|
||||
Section: Messaging the User
|
||||
|
||||
Reference in New Issue
Block a user