src/js/utils/general.js
function _makeTippyInstance(attachToOptions) {
  if (!attachToOptions.element) {
    return _makeCenteredTippy.call(this);
  }

  const tippyOptions = _makeAttachedTippyOptions.call(this, attachToOptions);

  return tippy(attachToOptions.element, tippyOptions);
}
function _makeTippyInstance(attachToOptions) {
  if (!attachToOptions.element) {
    return _makeCenteredTippy.call(this);
  }

  const tippyOptions = _makeAttachedTippyOptions.call(this, attachToOptions);

  return tippy(attachToOptions.element, tippyOptions);
}
function _makeTippyInstance ( attachToOptions ) { if ( ! attachToOptions . element ) { return _makeCenteredTippy . call ( this ) ; } const tippyOptions = _makeAttachedTippyOptions . call ( this , attachToOptions ) ; return tippy ( attachToOptions . element , tippyOptions ) ; }
Generates a `Tippy` instance from a set of base `attachTo` options

@return {tippy} The final tippy instance
@private
Generates a Tippy instance from a set of base attachTo options