(oldValue)
| 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 | } |
no test coverage detected
searching dependent graphs…