Skip to content

Commit e830fff

Browse files
committed
easysync: add clear method to stringAssembler
1 parent 9885c4e commit e830fff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/static/js/Changeset.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,7 @@ exports.stringIterator = (str) => {
673673
*/
674674
exports.stringAssembler = () => ({
675675
_str: '',
676+
clear() { this._str = ''; },
676677
/**
677678
* @param {string} x -
678679
*/

0 commit comments

Comments
 (0)