1
0
mirror of https://github.com/flarum/core.git synced 2025-08-31 03:50:15 +02:00

Revert "Export all missing modules in compat (#4006)" (#4032)

This reverts commit e0adf90453.
This commit is contained in:
IanM
2024-09-28 09:11:37 +01:00
committed by GitHub
parent d5882d9357
commit c942f3100d
29 changed files with 0 additions and 236 deletions

View File

@@ -1,7 +0,0 @@
import AutocompleteDropdown from './fragments/AutocompleteDropdown';
import getEmojiIconCode from './helpers/getEmojiIconCode';
export default {
'emoji/fragments/AutocompleteDropdown': AutocompleteDropdown,
'emoji/helpers/getEmojiIconCode': getEmojiIconCode,
};

View File

@@ -11,9 +11,3 @@ app.initializers.add('flarum-emoji', () => {
// render emoji as image in Posts content and title.
renderEmoji();
});
// Expose compat API
import emojiCompat from './compat';
import { compat } from '@flarum/core/forum';
Object.assign(compat, emojiCompat);