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