(label = EMPTY_STRING)
| 505 | let cellListenerId; |
| 506 | let valueListenerId; |
| 507 | const addCheckpointImpl = (label = EMPTY_STRING) => { |
| 508 | if (isUndefined(currentId)) { |
| 509 | currentId = EMPTY_STRING + nextCheckpointId++; |
| 510 | mapSet(deltas, currentId, [cellsDelta, valuesDelta]); |
| 511 | setCheckpoint(currentId, label); |
| 512 | cellsDelta = mapNew(); |
| 513 | valuesDelta = mapNew(); |
| 514 | checkpointsChanged = 1; |
| 515 | } |
| 516 | return currentId; |
| 517 | }; |
| 518 | const goBackwardImpl = () => { |
| 519 | if (!arrayIsEmpty(backwardIds)) { |
| 520 | arrayUnshift(forwardIds, addCheckpointImpl()); |
no test coverage detected
searching dependent graphs…