projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HiddenRules almost OK (need to ignore checks. Position kings on first rank?). window...
[vchess.git]
/
client
/
src
/
components
/
BaseGame.vue
diff --git
a/client/src/components/BaseGame.vue
b/client/src/components/BaseGame.vue
index
42fe189
..
07f6bba
100644
(file)
--- a/
client/src/components/BaseGame.vue
+++ b/
client/src/components/BaseGame.vue
@@
-104,11
+104,16
@@
export default {
cursor: -1, //index of the move just played
lastMove: null,
firstMoveNumber: 0, //for printing
cursor: -1, //index of the move just played
lastMove: null,
firstMoveNumber: 0, //for printing
- incheck: [] //for Board
+ incheck: [], //for Board
+ V: null // TODO: need "local" V to trigger re-computation of computed properties ?
+ // --> le passer depuis CompGame ou Game comme une property ?!
};
},
watch: {
// game initial FEN changes when a new game starts
};
},
watch: {
// game initial FEN changes when a new game starts
+
+ // TODO: this watcher is obsolete ?
+
"game.fenStart": function() {
this.re_setVariables();
},
"game.fenStart": function() {
this.re_setVariables();
},