MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getOwnerDocumentFromRootContainer

Function getOwnerDocumentFromRootContainer

code/redux/public/app.js:16365–16367  ·  view source on GitHub ↗
(rootContainerElement)

Source from the content-addressed store, hash-verified

16363}
16364
16365function getOwnerDocumentFromRootContainer(rootContainerElement) {
16366 return rootContainerElement.nodeType === DOCUMENT_NODE ? rootContainerElement : rootContainerElement.ownerDocument;
16367}
16368
16369function trapClickOnNonInteractiveElement(node) {
16370 // Mobile Safari does not fire properly bubble click events on

Callers 2

createElement$1Function · 0.70
createTextNode$1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected