Webpack 4, ESLint with Vue, Node-sass, updated dependencies overall. New linting.

This commit is contained in:
Henry Jameson 2019-04-07 20:33:11 +03:00
parent 8c7f765dff
commit 9108737d55
126 changed files with 7369 additions and 3394 deletions

View file

@ -1,7 +1,7 @@
const chat = {
state: {
messages: [],
channel: {state: ''},
channel: { state: '' },
socket: null
},
mutations: {
@ -29,7 +29,7 @@ const chat = {
channel.on('new_msg', (msg) => {
store.commit('addMessage', msg)
})
channel.on('messages', ({messages}) => {
channel.on('messages', ({ messages }) => {
store.commit('setMessages', messages)
})
channel.join()