     inTooltip: false
     inTarget: false
 
-  hovered: ->
-    @get('inTarget') || @get('inTooltip')
+  hovered: -> @get('inTarget') || @get('inTooltip')
 
 
 class Backbone.Factlink.TooltipDefinition

    @_options.$container.hoverIntent
      timeout: @_options.closingtimeout
      selector: @_options.selector
      over:(e) => @state.set inTarget: true
      out: (e) => @state.set inTarget: false
    @$target = @_options.$container.find(@_options.selector)

  close: ->
    @removeTooltip()
    @_options.$container.off(".hoverIntent") #unfortunately, we can't do better than this.

  removeTooltip: =>
    @_options.removeTooltip @_options.$container, @$target, @_$tooltip

    @_$tooltip.hoverIntent
      timeout: options.closingtimeout
      over: => @state.set inTooltip: true
      out:  => @state.set inTooltip: false

  toggleTooltip: ->
    if @_$tooltip
