mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
ace: Delete unnecessary IIFE
This commit is contained in:
parent
0e7f4aff52
commit
1ce7d1117b
1 changed files with 121 additions and 123 deletions
|
@ -162,7 +162,6 @@ const Ace2Editor = function () {
|
||||||
doneFunc();
|
doneFunc();
|
||||||
};
|
};
|
||||||
|
|
||||||
(() => {
|
|
||||||
const doctype = '<!doctype html>';
|
const doctype = '<!doctype html>';
|
||||||
|
|
||||||
const iframeHTML = [];
|
const iframeHTML = [];
|
||||||
|
@ -296,7 +295,6 @@ const Ace2Editor = function () {
|
||||||
editorDocument.open();
|
editorDocument.open();
|
||||||
editorDocument.write(outerHTML.join(''));
|
editorDocument.write(outerHTML.join(''));
|
||||||
editorDocument.close();
|
editorDocument.close();
|
||||||
})();
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue