function (event) {
    var target = event.target;
    if ((target !== absoluteAnchor) && !util.isChildOf(target, absoluteAnchor)) {
      destroy();
    }
  }
function (event) {
    var target = event.target;
    if ((target !== absoluteAnchor) && !util.isChildOf(target, absoluteAnchor)) {
      destroy();
    }
  }
function ( event ) { var target = event . target ; if ( ( target !== absoluteAnchor ) && ! util . isChildOf ( target , absoluteAnchor ) ) { destroy ( ) ; } }
create and attach event listeners
create and attach event listeners