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

Function getParentInstance

code/dependency-injection/public/app.js:2669–2671  ·  view source on GitHub ↗

* Return the parent instance of the passed-in instance.

(inst)

Source from the content-addressed store, hash-verified

2667 * Return the parent instance of the passed-in instance.
2668 */
2669function getParentInstance(inst) {
2670 return getParent(inst);
2671}
2672
2673/**
2674 * Simulates the traversal of a two-phase, capture/bubble event dispatch.

Calls 1

getParentFunction · 0.70

Tested by

no test coverage detected