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

Function copyMutationRecord

test/polyfills/MutationObserver.js:189–199  ·  view source on GitHub ↗
(original)

Source from the content-addressed store, hash-verified

187 this.oldValue = null;
188 }
189 function copyMutationRecord(original) {
190 var record = new MutationRecord(original.type, original.target);
191 record.addedNodes = original.addedNodes.slice();
192 record.removedNodes = original.removedNodes.slice();
193 record.previousSibling = original.previousSibling;
194 record.nextSibling = original.nextSibling;
195 record.attributeName = original.attributeName;
196 record.attributeNamespace = original.attributeNamespace;
197 record.oldValue = original.oldValue;
198 return record;
199 }
200 var currentRecord, recordWithOldValue;
201 function getRecord(type, target) {
202 return currentRecord = new MutationRecord(type, target);

Callers 1

getRecordWithOldValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…