anchor.diff:  
         morphOptions = u.merge options,
           beforeStart: ->
  -          markElementAsDestroying($(oldElement))
  -          emitFragmentDestroy($(oldElement), log: false)
  +          markElementAsDestroying(oldElement)
  +          emitFragmentDestroy(oldElement, log: false)
           afterInsert: ->
             up.hello(newElement, options)
           beforeDetach: ->
             up.syntax.clean(oldElement)
           afterDetach: ->
             e.remove(oldElement) # clean up jQuery data
  -          emitFragmentDestroyed($(oldElement), $parent: $(parent), log: false)
  +          emitFragmentDestroyed(oldElement, parent: parent, log: false)
   
         console.debug("-- morphOptions are %o", morphOptions)
   
  
positive.code:     )
      up.emit('up:fragment:kept', eventAttrs)
  
    emitFragmentDestroy = ($element, options) ->
      if shouldLogDestruction($element, options)
        message = ['Destroying fragment %o', $element.get(0)]
      up.emit 'up:fragment:destroy', { $element, message }
  
    emitFragmentDestroyed = ($element, options) ->
      if shouldLogDestruction($element, options)
        message = ['Destroyed fragment %o', $element.get(0)]
  
      $parent = options.$parent or up.fail("Missing { $parent } option")
  
      up.emit 'up:fragment:destroyed',
        $target: $parent,
        $parent: $parent,
        $element: $element,
        message: message
  
    isRealElement = ($element) ->
      unreal = '.up-destroying'
      $element.closest(unreal).length == 0
  
    ###**
    Returns the first element matching the given selector, but
  
negative.code:       $parent = $element.parent()
        up.syntax.clean($element[0])
        $element.remove()
        emitFragmentDestroyed($element[0], { parent: $parent[0] })
  
      animate().then(wipe)
  
    shouldLogDestruction = (element, options) ->
      # Don't log destruction for elements that are either Unpoly internals or frequently destroyed
      options.log != false && !e.matches(element, '.up-placeholder, .up-tooltip, .up-modal, .up-popup')
  
    ###**
    Elements are assigned the `.up-destroying` class before they are [destroyed](/up.destroy)
  