Lines Matching refs:whiteToMove
1334 function clockFromHeader(whiteToMove) { argument
1336 var matches = clockString.match("^" + (whiteToMove ? "W" : "B") + "/(.*)$");
1366 var whiteToMove = ((showThisMove+1)%2 === 0);
1367 text = whiteToMove ? 'white' : 'black';
1372 …var lastMoverClockObj = document.getElementById(whiteToMove ? "GameBlackClock" : "GameWhiteClock");
1373 …var initialLastMoverClock = whiteToMove ? gameInitialBlackClock[currentGame] : gameInitialWhiteClo…
1374 …var beforeLastMoverClockObj = document.getElementById(whiteToMove ? "GameWhiteClock" : "GameBlackC…
1375 …var initialBeforeLastMoverClock = whiteToMove ? gameInitialWhiteClock[currentGame] : gameInitialBl…
1378 …(!LiveBroadcastDemo) || (gameResult[currentGame] !== "*"))) ? clockFromHeader(!whiteToMove) : null;
1383 clockRegExp = new RegExp((whiteToMove ? "Black" : "White") + "\\s+Time:\\s*(\\S+)", "i");
1392 …((!LiveBroadcastDemo) || (gameResult[currentGame] !== "*"))) ? clockFromHeader(whiteToMove) : null;
1397 clockRegExp = new RegExp((whiteToMove ? "White" : "Black") + "\\s+Time:\\s*(\\S+)", "i");