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

Method redo

docs/app/js/sanddance-app.js:14253–14260  ·  view source on GitHub ↗
(historyIndex = this.state.historyIndex + 1)

Source from the content-addressed store, hash-verified

14251 }));
14252 }
14253 redo(historyIndex = this.state.historyIndex + 1) {
14254 if (historyIndex >= this.state.historyItems.length) return;
14255 const newState = this.replay(historyIndex);
14256 this.rebaseFilter = true;
14257 this.setState(Object.assign(Object.assign({}, newState), {
14258 historyIndex
14259 }));
14260 }
14261 changespecCapabilities(specCapabilities) {
14262 this.setState({
14263 specCapabilities

Callers 4

renderMethod · 0.95
constructorMethod · 0.45
sanddance-app.jsFile · 0.45
HistoryFunction · 0.45

Calls 1

replayMethod · 0.95

Tested by

no test coverage detected