diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2019-03-25 19:12:32 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2019-04-27 09:22:59 +0200 |
| commit | c7d12a8aaaad45b6d131fedd8a2169348c0ef3f5 (patch) | |
| tree | 47bb320ffba03a69fbc886e627389076abcbbd90 /src/Highlights.vue | |
| parent | 0dd62c0291f401e7e66b569af4d021410378a43c (diff) | |
| download | brokentalents-c7d12a8aaaad45b6d131fedd8a2169348c0ef3f5.tar.gz brokentalents-c7d12a8aaaad45b6d131fedd8a2169348c0ef3f5.zip | |
Use es6 method syntax
Diffstat (limited to 'src/Highlights.vue')
| -rw-r--r-- | src/Highlights.vue | 4 |
1 files changed, 2 insertions, 2 deletions
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); }, }, |
