Skip to content

Commit 12ebca8

Browse files
webzwo0irhansen
authored andcommitted
easysync: add clear method to stringAssembler
1 parent 0cc15df commit 12ebca8

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
@@ -676,6 +676,7 @@ exports.stringIterator = (str) => {
676676
*/
677677
exports.stringAssembler = () => ({
678678
_str: '',
679+
clear() { this._str = ''; },
679680
/**
680681
* @param {string} x -
681682
*/

0 commit comments

Comments
 (0)