mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
Update JS imports to new namespaced style (#39)
This commit is contained in:
parent
738db107b1
commit
b054ae7dcb
|
@ -1,9 +1,9 @@
|
|||
import emojiMap from 'simple-emoji-map';
|
||||
|
||||
import { extend } from 'flarum/extend';
|
||||
import TextEditor from 'flarum/components/TextEditor';
|
||||
import TextEditorButton from 'flarum/components/TextEditorButton';
|
||||
import KeyboardNavigatable from 'flarum/utils/KeyboardNavigatable';
|
||||
import { extend } from 'flarum/common/extend';
|
||||
import TextEditor from 'flarum/common/components/TextEditor';
|
||||
import TextEditorButton from 'flarum/common/components/TextEditorButton';
|
||||
import KeyboardNavigatable from 'flarum/forum/utils/KeyboardNavigatable';
|
||||
|
||||
import AutocompleteDropdown from './fragments/AutocompleteDropdown';
|
||||
import getEmojiIconCode from './helpers/getEmojiIconCode';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import Fragment from 'flarum/Fragment';
|
||||
import Fragment from 'flarum/common/Fragment';
|
||||
|
||||
export default class AutocompleteDropdown extends Fragment {
|
||||
items = [];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import app from 'flarum/app';
|
||||
import app from 'flarum/forum/app';
|
||||
|
||||
import addComposerAutocomplete from './addComposerAutocomplete';
|
||||
import renderEmoji from './renderEmoji';
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
/*global s9e*/
|
||||
|
||||
import twemoji from 'twemoji';
|
||||
|
||||
import { override } from 'flarum/extend';
|
||||
import Post from 'flarum/models/Post';
|
||||
import { override } from 'flarum/common/extend';
|
||||
import Post from 'flarum/common/models/Post';
|
||||
|
||||
import base from './cdn';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user