remove unused code
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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__;
|
||||
|
||||
Reference in New Issue
Block a user