@alepot55/chessboardjs 2.1.5 → 2.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chessboard.bundle.js +0 -2
- package/chessboard.js +0 -1
- package/chessboard.move.js +0 -1
- package/package.json +1 -1
- package/dist/website/home/bundle.js +0 -3303
package/chessboard.bundle.js
CHANGED
|
@@ -2424,7 +2424,6 @@ var Chessboard = (function () {
|
|
|
2424
2424
|
|
|
2425
2425
|
check() {
|
|
2426
2426
|
if (this.piece === null) {
|
|
2427
|
-
console.log(this);
|
|
2428
2427
|
throw new Error("Invalid move: piece is null");
|
|
2429
2428
|
}
|
|
2430
2429
|
if (!(this.piece instanceof Piece)) {
|
|
@@ -2830,7 +2829,6 @@ var Chessboard = (function () {
|
|
|
2830
2829
|
|
|
2831
2830
|
executePieceTranslations(pendingTranslations, escapeFlags, animation) {
|
|
2832
2831
|
for (let [_, sourceSquare, targetSquare] of pendingTranslations) {
|
|
2833
|
-
console.log('executing translation: ', sourceSquare.id, targetSquare.id);
|
|
2834
2832
|
let removeTarget = !escapeFlags[targetSquare.id] && targetSquare.piece;
|
|
2835
2833
|
let moveObj = new Move(sourceSquare, targetSquare);
|
|
2836
2834
|
this.translatePiece(moveObj, removeTarget, animation);
|
package/chessboard.js
CHANGED
|
@@ -379,7 +379,6 @@ class Chessboard {
|
|
|
379
379
|
|
|
380
380
|
executePieceTranslations(pendingTranslations, escapeFlags, animation) {
|
|
381
381
|
for (let [_, sourceSquare, targetSquare] of pendingTranslations) {
|
|
382
|
-
console.log('executing translation: ', sourceSquare.id, targetSquare.id);
|
|
383
382
|
let removeTarget = !escapeFlags[targetSquare.id] && targetSquare.piece;
|
|
384
383
|
let moveObj = new Move(sourceSquare, targetSquare);
|
|
385
384
|
this.translatePiece(moveObj, removeTarget, animation);
|
package/chessboard.move.js
CHANGED