From a54a726e939fc7ba79066268941d3f78f00b88f1 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Tue, 10 Jul 2018 10:49:23 +0300 Subject: [PATCH] Refactor client side commands Co-Authored-By: Max Leiter --- client/components/ChatInput.vue | 5 +++-- client/js/commands/collapse.js | 8 ++++++++ client/js/commands/expand.js | 8 ++++++++ client/js/commands/index.js | 21 +++++++++++++++++++++ client/js/commands/join.js | 26 ++++++++++++++++++++++++++ client/js/utils.js | 23 ----------------------- 6 files changed, 66 insertions(+), 25 deletions(-) create mode 100644 client/js/commands/collapse.js create mode 100644 client/js/commands/expand.js create mode 100644 client/js/commands/index.js create mode 100644 client/js/commands/join.js diff --git a/client/components/ChatInput.vue b/client/components/ChatInput.vue index 86dedee5..69ccca0d 100644 --- a/client/components/ChatInput.vue +++ b/client/components/ChatInput.vue @@ -30,6 +30,7 @@