undoLog.push(`State ${now} deleted`);
return <Element>log.recordAndApply(`${now} Create ${description}`);
},
edit: function (createTimestamp: string, newDescription: string, oldDescription: string) {
undoLog.push(`Edit ${createTimestamp} ${oldDescription}`);
undoLog.push(`State ${now} deleted`);
return <Element>log.recordAndApply(`${now} Create ${description}`);
},
edit: function (createTimestamp: string, newDescription: string, oldDescription: string) {
undoLog.push(`Edit ${createTimestamp} ${oldDescription}`);