Changeset: Move changeset logic to a new Changeset class

This commit is contained in:
Richard Hansen 2021-10-25 06:07:51 -04:00
parent a470253779
commit b718d88157
11 changed files with 193 additions and 127 deletions

View file

@ -438,7 +438,7 @@ PadDiff.prototype._createDeletionChangeset = function (cs, startAText, apool) {
}
}
return Changeset.checkRep(builder.toString());
return builder.build().validate().toString();
};
// export the constructor