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

Function initialize

code/event-handlers/public/app.js:2119–2123  ·  view source on GitHub ↗
(nativeEventTarget)

Source from the content-addressed store, hash-verified

2117};
2118
2119function initialize(nativeEventTarget) {
2120 compositionState._root = nativeEventTarget;
2121 compositionState._startText = getText();
2122 return true;
2123}
2124
2125function reset() {
2126 compositionState._root = null;

Callers 1

extractCompositionEventFunction · 0.70

Calls 1

getTextFunction · 0.70

Tested by

no test coverage detected