cm-chessboard 5.1.1 → 5.1.5

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.
Files changed (3) hide show
  1. package/README.md +2 -3
  2. package/index.html +0 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -14,8 +14,7 @@ aspects of chess games.
14
14
  - [Can handle moves input via click or drag](https://shaack.com/projekte/cm-chessboard/examples/validate-moves.html)
15
15
  - [Styleable via css and supports multiple piece sets](https://shaack.com/projekte/cm-chessboard/examples/different-styles.html)
16
16
  - Uses SVG for rendering
17
- - [Allows adding **
18
- extensions** to extend the functionality](https://shaack.com/projekte/cm-chessboard/examples/extensions/chessboard-arrows-extension.html)
17
+ - [Allows adding **extensions** to extend the functionality](https://shaack.com/projekte/cm-chessboard/examples/extensions/chessboard-arrows-extension.html)
19
18
 
20
19
  ## Extensions 🆕
21
20
 
@@ -373,7 +372,7 @@ const chessboard = new Chessboard(document.getElementById("board"), {
373
372
  ### registerMethod(name, callback)
374
373
 
375
374
  Add methods to the main chessboard from your extension with `this.registerMethod("name", callback)`
376
- like `addArrow(from, to, type)` in the
375
+ like `addArrow(type, rom, to)` in the
377
376
  [Arrows extension](https://shaack.com/projekte/cm-chessboard/examples/extensions/chessboard-arrows-extension.html).
378
377
 
379
378
  ```js
package/index.html CHANGED
@@ -24,7 +24,6 @@ It works, it is cool and it is easy to use. 👍</p>
24
24
  <li><a href="examples/pieces-animation.html">Set different positions, with animation</a></li>
25
25
  <li><a href="examples/input-callbacks.html">Context input, mark squares and detect clicks on fields</a></li>
26
26
  <li><a href="examples/different-styles.html">Different styles and piece sets</a> 🎨</li>
27
- <li><a href="examples/many-boards.html">100 boards, in one page</a></li>
28
27
  <li><a href="examples/destroy-many-boards.html">Stress test, 5000 boards created and destroyed</a> 🤓 👍</li>
29
28
  </ul>
30
29
  <h3>Examples of extensions</h3>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-chessboard",
3
- "version": "5.1.1",
3
+ "version": "5.1.5",
4
4
  "description": "A JavaScript chessboard which is lightweight, ES6 module based, responsive, SVG rendered and without dependencies.",
5
5
  "keywords": [
6
6
  "chess",