cm-chessboard 5.2.3 → 5.2.4

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/README.md CHANGED
@@ -344,11 +344,12 @@ Currently possible extension points are defined in `Extension.js`.
344
344
 
345
345
  ```js
346
346
  export const EXTENSION_POINT = {
347
- positionChanged: "positionChanged", // the positions of the pieces was changed
348
- boardChanged: "boardChanged", // the board (orientation) was changed
349
- moveInputToggled: "moveInputToggled", // move input was enabled or disabled
350
- moveInput: "moveInput", // move started, canceled or validation // TODO validation in extensions is not awailable for now
351
- destroy: "destroy" // called, before the board is destroyed
347
+ positionChanged: "positionChanged", // the positions of the pieces was changed
348
+ boardChanged: "boardChanged", // the board (orientation) was changed
349
+ moveInputToggled: "moveInputToggled", // move input was enabled or disabled
350
+ moveInput: "moveInput", // move started, to validate or canceled // TODO validation not possible for now, see https://github.com/shaack/cm-chessboard/issues/82
351
+ redrawBoard: "redrawBoard", // called after redrawing the board
352
+ destroy: "destroy" // called, before the board is destroyed
352
353
  }
353
354
  ```
354
355
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-chessboard",
3
- "version": "5.2.3",
3
+ "version": "5.2.4",
4
4
  "description": "A JavaScript chessboard which is lightweight, ES6 module based, responsive, SVG rendered and without dependencies.",
5
5
  "keywords": [
6
6
  "chess",
@@ -10,8 +10,8 @@ export const EXTENSION_POINT = {
10
10
  moveInputToggled: "moveInputToggled", // move input was enabled or disabled
11
11
  moveInput: "moveInput", // move started, to validate or canceled // TODO validation not possible for now, see https://github.com/shaack/cm-chessboard/issues/82
12
12
  moveInputStateChanged: "moveInput", // TODO deprecated, use `moveInput`
13
- destroy: "destroy", // called, before the board is destroyed
14
- redrawBoard: "redrawBoard" // called while redrawing the board
13
+ redrawBoard: "redrawBoard", // called after redrawing the board
14
+ destroy: "destroy" // called, before the board is destroyed
15
15
  }
16
16
 
17
17
  export class Extension {