mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
ace2_inner: Delete dead code
This commit is contained in:
parent
bfe813fca2
commit
51dc5b1627
1 changed files with 0 additions and 8 deletions
|
@ -323,12 +323,6 @@ function Ace2Inner() {
|
||||||
// top.console.error(err);
|
// top.console.error(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
let profiling = false;
|
|
||||||
|
|
||||||
const profileRest = () => {
|
|
||||||
profiling = true; // eslint-disable-line
|
|
||||||
};
|
|
||||||
|
|
||||||
const newEditEvent = (eventType) => ({
|
const newEditEvent = (eventType) => ({
|
||||||
eventType,
|
eventType,
|
||||||
backset: null,
|
backset: null,
|
||||||
|
@ -378,7 +372,6 @@ function Ace2Inner() {
|
||||||
selectionAffected: false,
|
selectionAffected: false,
|
||||||
userChangedSelection: false,
|
userChangedSelection: false,
|
||||||
domClean: false,
|
domClean: false,
|
||||||
profileRest,
|
|
||||||
isUserChange: false,
|
isUserChange: false,
|
||||||
// is this a "user change" type of call-stack
|
// is this a "user change" type of call-stack
|
||||||
repChanged: false,
|
repChanged: false,
|
||||||
|
@ -1576,7 +1569,6 @@ function Ace2Inner() {
|
||||||
},
|
},
|
||||||
get: (i) => `${rep.lines.atIndex(i).text}\n`,
|
get: (i) => `${rep.lines.atIndex(i).text}\n`,
|
||||||
length: () => rep.lines.length(),
|
length: () => rep.lines.length(),
|
||||||
slice_notused: (start, end) => _.map(rep.lines.slice(start, end), (e) => `${e.text}\n`),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Changeset.mutateTextLines(changes, linesMutatee);
|
Changeset.mutateTextLines(changes, linesMutatee);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue