MCPcopy
hub / github.com/zenoamaro/react-quill / getRecordWithOldValue

Function getRecordWithOldValue

test/polyfills/MutationObserver.js:204–209  ·  view source on GitHub ↗
(oldValue)

Source from the content-addressed store, hash-verified

202 return currentRecord = new MutationRecord(type, target);
203 }
204 function getRecordWithOldValue(oldValue) {
205 if (recordWithOldValue) return recordWithOldValue;
206 recordWithOldValue = copyMutationRecord(currentRecord);
207 recordWithOldValue.oldValue = oldValue;
208 return recordWithOldValue;
209 }
210 function clearRecords() {
211 currentRecord = recordWithOldValue = undefined;
212 }

Callers 1

Calls 1

copyMutationRecordFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…