- this.game = Object.assign({},
- this.gameInfo,
- {
- fenStart: this.gameInfo.fen,
- players: players,
- mycolor: mycolor,
- score: "*",
- });
- this.compWorker.postMessage(["init",this.gameInfo.fen]);
+ this.game = Object.assign({}, this.gameInfo, {
+ fenStart: this.gameInfo.fen,
+ players: players,
+ mycolor: mycolor,
+ score: "*"
+ });
+ this.compWorker.postMessage(["init", this.gameInfo.fen]);