Ace2Inner: Inline code that is unnecessarily inside an IIFE
parent
4890cd8972
commit
788eb86d84
|
@ -1475,7 +1475,6 @@ function Ace2Inner(editorInfo, cssManagers) {
|
|||
throw new Error(`doRepApplyChangeset length mismatch: ${errMsg}`);
|
||||
}
|
||||
|
||||
((changes) => {
|
||||
const editEvent = currentCallStack.editEvent;
|
||||
if (editEvent.eventType === 'nonundoable') {
|
||||
if (!editEvent.changeset) {
|
||||
|
@ -1495,7 +1494,6 @@ function Ace2Inner(editorInfo, cssManagers) {
|
|||
editEvent.backset = Changeset.compose(inverseChangeset, editEvent.backset, rep.apool);
|
||||
}
|
||||
}
|
||||
})(changes);
|
||||
|
||||
Changeset.mutateAttributionLines(changes, rep.alines, rep.apool);
|
||||
|
||||
|
|
Loading…
Reference in New Issue