-# Copyright 2012 Juha-Jarmo Heinonen
-#
+
 # The EventManager is a proxy between the DOM-level
 # events and the higher-lever GUI API's.
 EventManagerApp = HApplication.extend

  die: ->
    @stop()
    @base()
LOAD( ->
  window.EventManager = EventManagerApp.new( 500, 'EventManager' )
  # Alias:
  window.EVENT = EventManager
  EventManager.start()
)
      @observe( window, 'resize', 'resize' )
    @observe( window, 'blur', '_domWindowBlur' )
    @observe( window, 'focus', '_domWindowFocus' )
    # @_legacyStart()
  #
  # Stops EventManager
  stop: ->
