aboutsummaryrefslogtreecommitdiff
path: root/juick-server
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-28 22:16:26 +0300
committerGravatar Vitaly Takmazov2018-09-28 22:16:26 +0300
commit80f305e6f5d22abc38807fd6fad37b5cb450c249 (patch)
tree087b4535411d9568bc0b0c3445e63c745f7ef579 /juick-server
parent9e65c2c366968456e57a90cb6fc3eebd7b79b355 (diff)
make eslint happy
Diffstat (limited to 'juick-server')
-rw-r--r--juick-server/src/main/assets/scripts.js4
-rw-r--r--juick-server/webpack.config.js7
2 files changed, 5 insertions, 6 deletions
diff --git a/juick-server/src/main/assets/scripts.js b/juick-server/src/main/assets/scripts.js
index f2b7600e..21e3fdee 100644
--- a/juick-server/src/main/assets/scripts.js
+++ b/juick-server/src/main/assets/scripts.js
@@ -127,7 +127,7 @@ var ws,
function initWS() {
let url = new URL('/ws/', window.location.href);
- url.protocol = url.protocol.replace('http', 'ws')
+ url.protocol = url.protocol.replace('http', 'ws');
let hash = document.getElementById('body').getAttribute('data-hash');
if (hash) {
url += '?hash=' + hash;
@@ -361,7 +361,7 @@ function showCommentForm(mid, rid) {
}
}).catch(error => {
alert(error.message);
- })
+ });
});
}
reply.querySelector('.msg-comment textarea').focus();
diff --git a/juick-server/webpack.config.js b/juick-server/webpack.config.js
index 416bf2b3..0f4e4bfe 100644
--- a/juick-server/webpack.config.js
+++ b/juick-server/webpack.config.js
@@ -56,12 +56,11 @@ module.exports = (env, argv) => {
sourceMap: dev
}),
new OptimizeCSSAssetsPlugin({})
- ],
-
+ ]
},
plugins: [
new StyleLintPlugin({ configFile: '.stylelintrc.json', context: 'src/main/assets', files: ['**/*.css'], emitErrors: false }),
new MiniCssExtractPlugin({ filename: 'style.css', allChunks: true })
],
- }
-}
+ };
+};