 
   load: -> @init() unless @port
 
-  addEventListener: Settings.addEventListener.bind Settings
-
 #
 # Give this frame a unique (non-zero) id.
 #

# Complete initialization work that sould be done prior to DOMReady.
#
initializePreDomReady = ->
  settings.addEventListener("load", LinkHints.init.bind(LinkHints))
  settings.load()

  initializeModes()

      # An input may already be focused. If so, grab back the focus.
      @grabBackFocus document.activeElement if document.activeElement

    if settings.isLoaded then activate() else Settings.addEventListener "load", activate

  grabBackFocus: (element) ->
    return @continueBubbling unless DomUtils.isEditable element
