MCPcopy Index your code
hub / github.com/cifertech/DisplayKit / commit

Function commit

app.js:4921–4930  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4919 input.select();
4920
4921 const commit = () => {
4922 el.text = input.value;
4923 node.removeChild(input);
4924 node.textContent = prevText; // renderElements will refresh anyway
4925 renderElements();
4926 renderLayers();
4927 updatePropsInputs(false);
4928 updateCode();
4929 pushHistory();
4930 };
4931 const cancel = () => {
4932 node.removeChild(input);
4933 node.textContent = prevText;

Callers 1

beginInlineTextEditFunction · 0.85

Calls 5

renderElementsFunction · 0.85
renderLayersFunction · 0.85
updatePropsInputsFunction · 0.85
updateCodeFunction · 0.85
pushHistoryFunction · 0.85

Tested by

no test coverage detected