From c7d12a8aaaad45b6d131fedd8a2169348c0ef3f5 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 25 Mar 2019 19:12:32 +0100 Subject: Use es6 method syntax --- src/Highlights.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Highlights.vue') diff --git a/src/Highlights.vue b/src/Highlights.vue index 0b3be87..73cdf7b 100644 --- a/src/Highlights.vue +++ b/src/Highlights.vue @@ -111,7 +111,7 @@ import * as maps from './maps/maps.js'; export default Vue.component('highlights', { mixins: [ RouterParamMixin ], computed: { - stats: function() { + stats() { return { topWin: ReportService.getTopWin(this.selectedMode), topUnpopularWin: ReportService.getTopUnpopularWin(this.selectedMode), @@ -127,7 +127,7 @@ export default Vue.component('highlights', { topBlitzPointsDelta: ReportService.getTopBlitzPointsDelta(this.selectedMode), }; }, - playersPerMatch: function() { + playersPerMatch() { return maps.playersPerMatch(this.selectedMode); }, }, -- cgit v1.3.1