ace: Delete dead code

This commit is contained in:
Richard Hansen 2021-11-03 03:08:08 -04:00
parent 5283bfc14a
commit cc688f7367
3 changed files with 0 additions and 37 deletions

View file

@ -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');