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 0000000000..799f31b9c3 --- /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 c5cf094034..cc9764e6f6 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 c501994cdf..312046363c 100644 --- a/src/web/app/mobile/tags/post-form.tag +++ b/src/web/app/mobile/tags/post-form.tag @@ -178,6 +178,8 @@