projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Draft of problems section
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
a1539ba
..
b34eae9
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-84,6
+84,11
@@
export default {
if (!!newMove) //if stop + launch new game, get undefined move
this.play(newMove, "receive");
},
if (!!newMove) //if stop + launch new game, get undefined move
this.play(newMove, "receive");
},
+ // ...Or to undo (corr game, move not validated)
+ "game.moveToUndo": function(move) {
+ if (!!move)
+ this.undo(move);
+ },
},
computed: {
showMoves: function() {
},
computed: {
showMoves: function() {