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

Function initialize

code/one-direction-data-flow/public/app.js:2662–2666  ·  view source on GitHub ↗
(nativeEventTarget)

Source from the content-addressed store, hash-verified

2660};
2661
2662function initialize(nativeEventTarget) {
2663 compositionState._root = nativeEventTarget;
2664 compositionState._startText = getText();
2665 return true;
2666}
2667
2668function reset() {
2669 compositionState._root = null;

Callers 1

extractCompositionEventFunction · 0.70

Calls 1

getTextFunction · 0.70

Tested by

no test coverage detected