From 28bfb4542626b6bb781872af5faa8cadc4eafc56 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Wed, 30 Jan 2019 16:56:27 +0900 Subject: [PATCH] Avoid export default --- src/client/app/common/scripts/note-mixin.ts | 2 +- .../common/views/components/messaging-room.message.vue | 2 +- src/client/app/common/views/components/mfm.ts | 2 +- src/client/app/desktop/views/components/post-form.vue | 2 +- src/client/app/mobile/views/components/post-form.vue | 2 +- src/client/app/test/views/index.vue | 2 +- src/mfm/fromHtml.ts | 2 +- src/mfm/parse.ts | 10 +++++----- src/mfm/parser.ts | 4 +--- src/mfm/toHtml.ts | 4 ++-- src/remote/activitypub/misc/get-note-html.ts | 4 ++-- src/remote/activitypub/models/note.ts | 2 +- src/remote/activitypub/models/person.ts | 2 +- src/remote/activitypub/renderer/person.ts | 4 ++-- src/server/api/endpoints/i/update.ts | 2 +- src/services/note/create.ts | 2 +- test/extract-mentions.ts | 2 +- test/mfm.ts | 4 ++-- 18 files changed, 26 insertions(+), 28 deletions(-) diff --git a/src/client/app/common/scripts/note-mixin.ts b/src/client/app/common/scripts/note-mixin.ts index 047e2ae55e..5707d1bb41 100644 --- a/src/client/app/common/scripts/note-mixin.ts +++ b/src/client/app/common/scripts/note-mixin.ts @@ -1,4 +1,4 @@ -import parse from '../../../../mfm/parse'; +import { parse } from '../../../../mfm/parse'; import { sum, unique } from '../../../../prelude/array'; import shouldMuteNote from './should-mute-note'; import MkNoteMenu from '../views/components/note-menu.vue'; diff --git a/src/client/app/common/views/components/messaging-room.message.vue b/src/client/app/common/views/components/messaging-room.message.vue index ba2af03030..ce76c402f3 100644 --- a/src/client/app/common/views/components/messaging-room.message.vue +++ b/src/client/app/common/views/components/messaging-room.message.vue @@ -34,7 +34,7 @@