Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/editor/editor_lite_extension_base.js')
-rw-r--r--app/assets/javascripts/editor/editor_lite_extension_base.js11
1 files changed, 0 insertions, 11 deletions
diff --git a/app/assets/javascripts/editor/editor_lite_extension_base.js b/app/assets/javascripts/editor/editor_lite_extension_base.js
deleted file mode 100644
index b8d87fa4969..00000000000
--- a/app/assets/javascripts/editor/editor_lite_extension_base.js
+++ /dev/null
@@ -1,11 +0,0 @@
-import { ERROR_INSTANCE_REQUIRED_FOR_EXTENSION } from './constants';
-
-export class EditorLiteExtension {
- constructor({ instance, ...options } = {}) {
- if (instance) {
- Object.assign(instance, options);
- } else if (Object.entries(options).length) {
- throw new Error(ERROR_INSTANCE_REQUIRED_FOR_EXTENSION);
- }
- }
-}