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() {
console.log("SNEAKY PETE!");
this.$on("service-worker-updated", () => {
@@ -99,10 +96,8 @@ body {
</style>
<style scoped>
.app-container {
background-color: white;
min-height: 100vh;
}
</style>

View File

@@ -43,9 +43,6 @@ export default {
minutes: 0,
seconds: 0,
distance: 0,
enabled: false,
code: "38384040373937396665",
codeDone: "",
interval: null,
};
},
@@ -79,19 +76,6 @@ export default {
}
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() {
let d = new Date();
let dayOfLottery = __DATE__;