From 0812ffc2e729da8e495254552ea40c0ea683dffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Mon, 25 Feb 2019 00:38:13 -0500 Subject: [PATCH] Run ESLint autofix after requiring new line on closing brackets --- client/components/App.vue | 94 +++++++++++-------- client/components/Channel.vue | 18 ++-- client/components/ChannelWrapper.vue | 6 +- client/components/Chat.vue | 55 +++++++---- client/components/ChatInput.vue | 21 +++-- client/components/ChatUserList.vue | 15 ++- client/components/DateMarker.vue | 6 +- client/components/JoinChannel.vue | 12 ++- client/components/LinkPreview.vue | 48 ++++++---- client/components/LinkPreviewToggle.vue | 3 +- client/components/Message.vue | 30 ++++-- client/components/MessageCondensed.vue | 11 ++- client/components/MessageList.vue | 21 +++-- client/components/MessageTypes/away.vue | 6 +- client/components/MessageTypes/back.vue | 3 +- client/components/MessageTypes/invite.vue | 6 +- client/components/MessageTypes/kick.vue | 8 +- client/components/MessageTypes/motd.vue | 3 +- client/components/MessageTypes/part.vue | 8 +- client/components/MessageTypes/quit.vue | 8 +- client/components/MessageTypes/topic.vue | 8 +- client/components/MessageTypes/whois.vue | 12 ++- client/components/NetworkList.vue | 21 +++-- client/components/NetworkLobby.vue | 27 ++++-- client/components/Special/ListBans.vue | 3 +- client/components/Special/ListChannels.vue | 12 ++- client/components/Special/ListIgnored.vue | 3 +- client/components/Username.vue | 3 +- client/components/UsernameFiltered.vue | 3 +- .../components/ParsedMessageTestWrapper.vue | 3 +- 30 files changed, 309 insertions(+), 168 deletions(-) diff --git a/client/components/App.vue b/client/components/App.vue index 834598b2..74e27533 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -1,60 +1,72 @@ diff --git a/client/components/Channel.vue b/client/components/Channel.vue index b861c646..fb1a3cf5 100644 --- a/client/components/Channel.vue +++ b/client/components/Channel.vue @@ -2,28 +2,34 @@ + :active-channel="activeChannel" + > {{ channel.name }} {{ channel.unread | roundBadgeNumber }} + class="badge" + >{{ channel.unread | roundBadgeNumber }} diff --git a/client/components/ChannelWrapper.vue b/client/components/ChannelWrapper.vue index cd5ed80a..388446ce 100644 --- a/client/components/ChannelWrapper.vue +++ b/client/components/ChannelWrapper.vue @@ -14,11 +14,13 @@ :aria-controls="'#chan-' + channel.id" :aria-selected="activeChannel && channel === activeChannel.channel" class="chan" - role="tab"> + role="tab" + > + :activeChannel="activeChannel" + /> diff --git a/client/components/Chat.vue b/client/components/Chat.vue index 07d9915a..2fe4b856 100644 --- a/client/components/Chat.vue +++ b/client/components/Chat.vue @@ -1,7 +1,8 @@ diff --git a/client/components/ChatInput.vue b/client/components/ChatInput.vue index c3695162..a7cf8e6c 100644 --- a/client/components/ChatInput.vue +++ b/client/components/ChatInput.vue @@ -3,7 +3,8 @@ id="form" method="post" action="" - @submit.prevent="onSubmit"> + @submit.prevent="onSubmit" + > {{ network.nick }}