mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
prevent creation of _defineProperty() function
This commit is contained in:
parent
eff92c3152
commit
986b8f056b
8 changed files with 24 additions and 57 deletions
|
|
@ -19,20 +19,6 @@ export function encodeHtml(text) {
|
|||
}
|
||||
|
||||
class HtmlEditor {
|
||||
editor;
|
||||
blurTimer = 0;
|
||||
|
||||
__resizable = false;
|
||||
__inited = false;
|
||||
|
||||
onBlur = null;
|
||||
onReady = null;
|
||||
onModeChange = null;
|
||||
|
||||
element;
|
||||
|
||||
resize;
|
||||
|
||||
/**
|
||||
* @param {Object} element
|
||||
* @param {Function=} onBlur
|
||||
|
|
@ -40,6 +26,12 @@ class HtmlEditor {
|
|||
* @param {Function=} onModeChange
|
||||
*/
|
||||
constructor(element, onBlur = null, onReady = null, onModeChange = null) {
|
||||
this.editor;
|
||||
this.blurTimer = 0;
|
||||
|
||||
this.__resizable = false;
|
||||
this.__inited = false;
|
||||
|
||||
this.onBlur = onBlur;
|
||||
this.onReady = onReady;
|
||||
this.onModeChange = onModeChange;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue