From 31b7626d018f3e241ddeac5b723c18fa41088bf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Mon, 5 Nov 2018 16:19:10 +0900 Subject: [PATCH] Make code better refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171423739 refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171424596 refs: https://github.com/syuilo/misskey/pull/3117#pullrequestreview-171425303 --- src/client/app/common/views/components/emoji.vue | 8 +++++++- src/mfm/parse/elements/emoji.regex.ts | 1 + src/mfm/parse/elements/emoji.ts | 7 ++----- 3 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 src/mfm/parse/elements/emoji.regex.ts diff --git a/src/client/app/common/views/components/emoji.vue b/src/client/app/common/views/components/emoji.vue index 2dca8fdcb5..6a078e023d 100644 --- a/src/client/app/common/views/components/emoji.vue +++ b/src/client/app/common/views/components/emoji.vue @@ -5,6 +5,11 @@