X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fcomponents%2Fboard.js;fp=public%2Fjavascripts%2Fcomponents%2Fboard.js;h=0399410f5049f39b3b5038200ead5db38e4bd60f;hb=81bc1102368a5a8b9358f58b77c241f82f3c2c4b;hp=44c499c2030e8c7ef1072c94d3a3e840610c22aa;hpb=baba60703f661aab20f2327098c3a0af572f0704;p=vchess.git diff --git a/public/javascripts/components/board.js b/public/javascripts/components/board.js index 44c499c2..0399410f 100644 --- a/public/javascripts/components/board.js +++ b/public/javascripts/components/board.js @@ -1,7 +1,9 @@ Vue.component('my-board', { // Last move cannot be guessed from here, and is required to highlight squares // vr: object to check moves, print board... - props: ["vr","lastMove","mode","orientation","userColor","gameOver"], + // mode: HH, HC or analyze + // userColor: for mode HH or HC + props: ["vr","lastMove","mode","orientation","userColor"], data: function () { return { hints: (!localStorage["hints"] ? true : localStorage["hints"] === "1"),