mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #20421 from overleaf/em-history-limit-tracked-deletes
Do not count tracked deletes towards size limit in history GitOrigin-RevId: 0185e6df80d8f3433aa489a1c90f5a6499af5ef4
This commit is contained in:
@@ -41,6 +41,17 @@ class TrackedChangeList {
|
||||
return this._trackedChanges.length
|
||||
}
|
||||
|
||||
/**
|
||||
* Iterate over tracked changes
|
||||
*
|
||||
* @returns {Iterator<TrackedChange>}
|
||||
*/
|
||||
*[Symbol.iterator]() {
|
||||
for (const change of this._trackedChanges) {
|
||||
yield change
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {readonly TrackedChange[]}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user