cm-chessboard 8.3.0 → 8.3.1

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 (2) hide show
  1. package/README.md +6 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -60,13 +60,14 @@ The core of cm-chessboard is small, fast and reduced to the essentials. You can
60
60
  #### Step 2c: Create the chessboard in your JavaScript code.
61
61
 
62
62
  ```html
63
+
63
64
  <script type="module">
64
- import {Chessboard} from "./src/Chessboard.js"
65
+ import {Chessboard, FEN} from "./path/to/Chessboard.js"
65
66
 
66
- const board = new Chessboard(document.getElementById("board"), {
67
- position: FEN.start,
68
- assetsUrl: "./node_modules/cm-chessboard/assets/" // or wherever you copied the assets folder to
69
- })
67
+ const board = new Chessboard(document.getElementById("board"), {
68
+ position: FEN.start,
69
+ assetsUrl: "./path/to/assets/" // wherever you copied the assets folder to, could also be in the node_modules folder
70
+ })
70
71
  </script>
71
72
  ```
72
73
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-chessboard",
3
- "version": "8.3.0",
3
+ "version": "8.3.1",
4
4
  "description": "A JavaScript chessboard which is lightweight, ES6 module based, responsive, SVG rendered and without dependencies.",
5
5
  "keywords": [
6
6
  "chess",