MCPcopy Index your code
hub / github.com/microsoft/SandDance / prepareForCommit

Function prepareForCommit

docs/external/js/react-dom.development.js:7584–7588  ·  view source on GitHub ↗
(containerInfo)

Source from the content-addressed store, hash-verified

7582 return instance;
7583 }
7584 function prepareForCommit(containerInfo) {
7585 eventsEnabled = isEnabled();
7586 selectionInformation = getSelectionInformation();
7587 setEnabled(false);
7588 }
7589 function resetAfterCommit(containerInfo) {
7590 restoreSelection(selectionInformation);
7591 setEnabled(eventsEnabled);

Callers 1

commitRootImplFunction · 0.85

Calls 3

getSelectionInformationFunction · 0.85
setEnabledFunction · 0.85
isEnabledFunction · 0.70

Tested by

no test coverage detected