From c7d12a8aaaad45b6d131fedd8a2169348c0ef3f5 Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Mon, 25 Mar 2019 19:12:32 +0100
Subject: Use es6 method syntax

---
 src/IntroBox.vue | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'src/IntroBox.vue')

diff --git a/src/IntroBox.vue b/src/IntroBox.vue
index e0a1abb..a00fc64 100644
--- a/src/IntroBox.vue
+++ b/src/IntroBox.vue
@@ -25,31 +25,31 @@ import RouterParamMixin from './RouterParamMixin';
 
 export default Vue.component('intro-box', {
   mixins: [ RouterParamMixin ],
-  data: function() {
+  data() {
     return {
       hideIntro: !!localStorage.getItem('hideIntro'),
       gaOptedOut: !!localStorage.getItem('gaOptOut'),
     };
   },
   methods: {
-    optOutAnalytics: function() {
+    optOutAnalytics() {
       this.$ga.disable();
       this.gaOptedOut = true;
     },
   },
-  created: function() {
+  created() {
     if (this.gaOptedOut) {
       this.$ga.disable();
     }
   },
   watch: {
-    hideIntro: function(value) {
+    hideIntro(value) {
       localStorage.setItem('hideIntro', value);
     },
-    gaOptedOut: function(value) {
+    gaOptedOut(value) {
       localStorage.setItem('gaOptOut', value);
     },
-    selectedMode: function(value) {
+    selectedMode(value) {
       this.hideIntro = !!localStorage.getItem('hideIntro');
     },
   },
-- 
cgit v1.3.1

