From a2549192ca23a76900aef6cc36155a7c223e34cd Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 16 Nov 2018 17:55:48 +0900 Subject: [PATCH] Update misskey-flavored-markdown.ts --- .../common/views/components/misskey-flavored-markdown.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/client/app/common/views/components/misskey-flavored-markdown.ts b/src/client/app/common/views/components/misskey-flavored-markdown.ts index cbc938cf51..1eb738813e 100644 --- a/src/client/app/common/views/components/misskey-flavored-markdown.ts +++ b/src/client/app/common/views/components/misskey-flavored-markdown.ts @@ -1,11 +1,11 @@ import Vue, { VNode } from 'vue'; import { length } from 'stringz'; -import MkFormula from './formula.vue'; import parse from '../../../../../mfm/parse'; import getAcct from '../../../../../misc/acct/render'; import MkUrl from './url.vue'; -import MkGoogle from './google.vue'; import { concat } from '../../../../../prelude/array'; +import MkFormula from './formula.vue'; +import MkGoogle from './google.vue'; export default Vue.component('misskey-flavored-markdown', { props: { @@ -201,6 +201,7 @@ export default Vue.component('misskey-flavored-markdown', { } case 'math': { + //const MkFormula = () => import('./formula.vue').then(m => m.default); return [createElement(MkFormula, { props: { formula: token.formula @@ -209,6 +210,7 @@ export default Vue.component('misskey-flavored-markdown', { } case 'search': { + //const MkGoogle = () => import('./google.vue').then(m => m.default); return [createElement(MkGoogle, { props: { q: token.query