     _positionToTrigger: ($trigger, mouseEvent, cursorHeight=@cursorHeight) ->
       return no if not mouseEvent?
 
-      offset =
-        top: mouseEvent.pageY
-        left: mouseEvent.pageX
+      offset = { top: mouseEvent.pageY, left: mouseEvent.pageX }
       offset = @offsetOnTriggerMouseMove(mouseEvent, offset, $trigger) or offset
 
       if @_isDirection('top', $trigger)

        triggerWidth = $trigger.outerWidth()
        offset.left -= tipWidth
        #- If direction changed due to tip being wider than trigger.
        if tipWidth > triggerWidth
          offset.left += triggerWidth

      @$tip.css offset


    _wrapStealthRender: (func) ->
      =>
        return func.apply @, arguments if not @$tip.is(':hidden')
        @$tip.css { display: 'block', visibility: 'hidden' }
        result = func.apply @, arguments
        @$tip.css { display: 'none', visibility: 'visible' }
        return result

    # ### Delegation to Subclass

    # These methods are hooks for custom functionality from subclasses. (Some are
    # set to no-ops becase they are given no arguments.)
    onShow: (event) -> undefined
    onHide: $.noop
    afterShow: (event) -> undefined
    afterHide: $.noop
    htmlOnRender: $.noop
    offsetOnTriggerMouseMove: (event, offset, $trigger) -> no
