Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
captureFlag() {
this.showCapture = true;
delay(3000).then(() => { this.showCapture = false })
},
},
loadVoxels(data.data).then(() => {
if (store.firstLoad) return delay(2000).then(() => store.hideMainLoader());
});
},
.then(() => delay(5000))
.then(() => {
socket.addEventListener('close', () => delay(config.timeout)
.then(() => store.user.firebaseUser.getIdToken().then(token => connectDashboard(token))));
socket.addEventListener('close', () => delay(config.timeout)
.then(() => store.user.firebaseUser.getIdToken().then(token => connectGame(token))));