projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TODO: GameStorage.update + clocks started...
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
e8ca696
..
5ee5e0c
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-145,7
+145,7
@@
export default {
endGame: function(score) {
this.score = score;
this.showScoreMsg(score);
endGame: function(score) {
this.score = score;
this.showScoreMsg(score);
- this.$emit("gameover"
); //score not required (TODO?)
+ this.$emit("gameover"
, score);
},
animateMove: function(move) {
let startSquare = document.getElementById(getSquareId(move.start));
},
animateMove: function(move) {
let startSquare = document.getElementById(getSquareId(move.start));