Changeset: Factor out duplicate code

This commit is contained in:
Richard Hansen 2021-10-16 17:54:03 -04:00
parent 4a65c2c8ff
commit b29e59419e
2 changed files with 9 additions and 124 deletions

View file

@ -160,7 +160,7 @@ PadDiff.prototype._createDiffAtext = async function () {
if (superChangeset == null) {
superChangeset = changeset;
} else {
superChangeset = Changeset.composeWithDeletions(superChangeset, changeset, this._pad.pool);
superChangeset = Changeset.compose(superChangeset, changeset, this._pad.pool);
}
}