From c29fc007db409f529e20fd63e3b4587e934c7980 Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Sun, 21 Feb 2021 08:01:14 +0100 Subject: [PATCH] Refactoring --- src/{selection => }/Selection.js | 2 +- src/index.js | 5 ++--- src/selection/index.js | 2 -- 3 files changed, 3 insertions(+), 6 deletions(-) rename src/{selection => }/Selection.js (97%) delete mode 100644 src/selection/index.js diff --git a/src/selection/Selection.js b/src/Selection.js similarity index 97% rename from src/selection/Selection.js rename to src/Selection.js index 596edb4..a485766 100644 --- a/src/selection/Selection.js +++ b/src/Selection.js @@ -1,4 +1,4 @@ -import WebAnnotation from '../WebAnnotation'; +import WebAnnotation from './WebAnnotation'; import { v4 as uuid } from 'uuid'; import * as equals from 'fast-deep-equal'; diff --git a/src/index.js b/src/index.js index a6fd94b..778cf52 100644 --- a/src/index.js +++ b/src/index.js @@ -1,9 +1,8 @@ export { default as Editor } from './editor/Editor'; -export { default as Autocomplete } from './editor/widgets/Autocomplete'; -export { default as createEnvironment } from './Environment'; export { default as I18n } from './i18n'; export { default as WebAnnotation } from './WebAnnotation'; +export { default as Selection } from './Selection'; +export { default as createEnvironment } from './Environment'; export * from './Icons'; -export * from './selection'; export * from './utils'; diff --git a/src/selection/index.js b/src/selection/index.js deleted file mode 100644 index b002fe4..0000000 --- a/src/selection/index.js +++ /dev/null @@ -1,2 +0,0 @@ -export { default as Selection } from './Selection'; -