From 8119440db0dc0ae6ce5a4afb7eddc93674858abb Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 13 Dec 2022 10:34:07 +0100 Subject: [PATCH] Change indentation to spaces --- src/js/State.js | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/js/State.js b/src/js/State.js index 8c553f9..a6d71ec 100644 --- a/src/js/State.js +++ b/src/js/State.js @@ -2,19 +2,19 @@ * The state of the board. */ export const State = { - turnCount: 0, + turnCount: 0, - /** - * Gets the id of the current player. - * - * @type {CellOwner} - */ - get currentPlayer() - { - return this.turnCount % 2 === 0 ? "r" : "b"; - }, + /** + * Gets the id of the current player. + * + * @type {CellOwner} + */ + get currentPlayer() + { + return this.turnCount % 2 === 0 ? "r" : "b"; + }, - board: /** @type {Board} */ ( - Array(6).fill("").map( - () => (Array(7).fill("")))) + board: /** @type {Board} */ ( + Array(6).fill("").map( + () => (Array(7).fill("")))) };