* Returns the reference node of the reference object, or the reference object itself. * @method * @memberof Popper.Utils * @param {Element|Object} reference - the reference element (the popper will be relative to this) * @returns {Element} parent
(reference)
| 1663 | * @returns {Element} parent |
| 1664 | */ |
| 1665 | function getReferenceNode(reference) { |
| 1666 | return reference && reference.referenceNode ? reference.referenceNode : reference; |
| 1667 | } |
| 1668 | |
| 1669 | var isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode); |
| 1670 | var isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent); |
no outgoing calls
no test coverage detected