mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
ace: Delete dead code
This commit is contained in:
parent
5283bfc14a
commit
cc688f7367
3 changed files with 0 additions and 37 deletions
|
@ -120,7 +120,6 @@ const Ace2Editor = function () {
|
|||
'applyPreparedChangesetToBase',
|
||||
'setUserChangeNotificationCallback',
|
||||
'setAuthorInfo',
|
||||
'setAuthorSelectionRange',
|
||||
'callWithAce',
|
||||
'execCommand',
|
||||
'replaceRange',
|
||||
|
@ -137,8 +136,6 @@ const Ace2Editor = function () {
|
|||
|
||||
this.exportText = () => loaded ? info.ace_exportText() : '(awaiting init)\n';
|
||||
|
||||
this.getDebugProperty = (prop) => info.ace_getDebugProperty(prop);
|
||||
|
||||
this.getInInternationalComposition =
|
||||
() => loaded ? info.ace_getInInternationalComposition() : null;
|
||||
|
||||
|
@ -152,9 +149,6 @@ const Ace2Editor = function () {
|
|||
// changes, and modify the changeset to be applied by applyPreparedChangesetToBase accordingly.
|
||||
this.prepareUserChangeset = () => loaded ? info.ace_prepareUserChangeset() : null;
|
||||
|
||||
// returns array of {error: <browser Error object>, time: +new Date()}
|
||||
this.getUnhandledErrors = () => loaded ? info.ace_getUnhandledErrors() : [];
|
||||
|
||||
const addStyleTagsFor = (doc, files) => {
|
||||
for (const file of files) {
|
||||
const link = doc.createElement('link');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue