remove unused code

This commit is contained in:
Adrian Thompson
2020-09-02 13:22:17 +02:00
parent 58b424a873
commit fe5f9d2124
2 changed files with 0 additions and 21 deletions

View File

@@ -49,9 +49,6 @@ export default {
] ]
}; };
}, },
beforeMount(){
this.handleView()
},
mounted() { mounted() {
console.log("SNEAKY PETE!"); console.log("SNEAKY PETE!");
this.$on("service-worker-updated", () => { this.$on("service-worker-updated", () => {
@@ -99,10 +96,8 @@ body {
</style> </style>
<style scoped> <style scoped>
.app-container { .app-container {
background-color: white; background-color: white;
min-height: 100vh; min-height: 100vh;
} }
</style> </style>

View File

@@ -43,9 +43,6 @@ export default {
minutes: 0, minutes: 0,
seconds: 0, seconds: 0,
distance: 0, distance: 0,
enabled: false,
code: "38384040373937396665",
codeDone: "",
interval: null, interval: null,
}; };
}, },
@@ -79,19 +76,6 @@ export default {
} }
return num; return num;
}, },
listenerFunction: function(event) {
this.codeDone += event.keyCode;
if (this.code.substring(0, this.codeDone.length) == this.codeDone) {
if (this.code == this.codeDone && !this.enabled) {
this.enabled = true;
this.initialize();
this.countdown();
this.codeDone = "";
}
} else {
this.codeDone = "";
}
},
initialize: function() { initialize: function() {
let d = new Date(); let d = new Date();
let dayOfLottery = __DATE__; let dayOfLottery = __DATE__;