From 23810d0ce57d69ba73ae693ec2e0e179a0f3879f Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 1 Feb 2017 04:49:23 +0900 Subject: [PATCH] Refactor: Extract the cat generator --- src/web/app/common/scripts/get-cat.js | 3 +++ src/web/app/desktop/tags/post-form.tag | 4 +++- src/web/app/mobile/tags/post-form.tag | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 src/web/app/common/scripts/get-cat.js diff --git a/src/web/app/common/scripts/get-cat.js b/src/web/app/common/scripts/get-cat.js new file mode 100644 index 000000000..799f31b9c --- /dev/null +++ b/src/web/app/common/scripts/get-cat.js @@ -0,0 +1,3 @@ +module.exports = function() { + return '(=^・・^=)' +}; diff --git a/src/web/app/desktop/tags/post-form.tag b/src/web/app/desktop/tags/post-form.tag index c5cf09403..cc9764e6f 100644 --- a/src/web/app/desktop/tags/post-form.tag +++ b/src/web/app/desktop/tags/post-form.tag @@ -285,6 +285,8 @@ diff --git a/src/web/app/mobile/tags/post-form.tag b/src/web/app/mobile/tags/post-form.tag index c501994cd..312046363 100644 --- a/src/web/app/mobile/tags/post-form.tag +++ b/src/web/app/mobile/tags/post-form.tag @@ -178,6 +178,8 @@