From 0ea0bee45ac261d16cb0361cfff750d50c8839bd Mon Sep 17 00:00:00 2001 From: Oliver Green Date: Tue, 2 Jan 2018 00:44:49 +0000 Subject: [PATCH] Module referencing improvements. --- src/module-emoji.js | 5 +++-- src/module-textarea-emoji.js | 5 +++-- src/module-toolbar-emoji.js | 5 +++-- src/quill-emoji.js | 6 +++--- 4 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/module-emoji.js b/src/module-emoji.js index 476b1c7..3b35723 100644 --- a/src/module-emoji.js +++ b/src/module-emoji.js @@ -1,5 +1,6 @@ -import Fuse from '../node_modules/fuse.js'; -import {emojiList} from '../src/emojiList.js'; +import Fuse from 'fuse.js'; +import {emojiList} from './emojiList.js'; +import Quill from 'quill'; const Delta = Quill.import('delta'); const e = (tag, attrs, ...children) => { diff --git a/src/module-textarea-emoji.js b/src/module-textarea-emoji.js index 54870e2..e04cd2d 100644 --- a/src/module-textarea-emoji.js +++ b/src/module-textarea-emoji.js @@ -1,5 +1,6 @@ -import Fuse from '../node_modules/fuse.js'; -import {emojiList} from '../src/emojiList.js'; +import Fuse from 'fuse.js'; +import {emojiList} from './emojiList.js'; +import Quill from 'quill'; const Delta = Quill.import('delta'); const e = (tag, attrs, ...children) => { diff --git a/src/module-toolbar-emoji.js b/src/module-toolbar-emoji.js index 5fbef4f..65812a8 100644 --- a/src/module-toolbar-emoji.js +++ b/src/module-toolbar-emoji.js @@ -1,5 +1,6 @@ -import Fuse from '../node_modules/fuse.js'; -import {emojiList} from '../src/emojiList.js'; +import Fuse from 'fuse.js'; +import {emojiList} from './emojiList.js'; +import Quill from 'quill'; const Delta = Quill.import('delta'); const e = (tag, attrs, ...children) => { diff --git a/src/quill-emoji.js b/src/quill-emoji.js index 9a6d51d..0dd94fa 100644 --- a/src/quill-emoji.js +++ b/src/quill-emoji.js @@ -1,4 +1,4 @@ import css from './scss/base.scss'; -import shortNameEmoji from '../src/module-emoji'; -import toolbarEmoji from '../src/module-toolbar-emoji'; -import textAreaEmoji from '../src/module-textarea-emoji'; \ No newline at end of file +import shortNameEmoji from './module-emoji'; +import toolbarEmoji from './module-toolbar-emoji'; +import textAreaEmoji from './module-textarea-emoji'; \ No newline at end of file