cm-chessboard 5.5.5 → 5.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cm-chessboard",
3
- "version": "5.5.5",
3
+ "version": "5.5.6",
4
4
  "description": "A JavaScript chessboard which is lightweight, ES6 module based, responsive, SVG rendered and without dependencies.",
5
5
  "keywords": [
6
6
  "chess",
@@ -71,7 +71,7 @@ export class RenderVideo extends Extension {
71
71
  let clonedSvgElement = this.chessboard.view.svg.cloneNode(true)
72
72
  let serialized = new XMLSerializer().serializeToString(clonedSvgElement)
73
73
  const blob = new Blob([serialized], {type: "image/svg+xml"})
74
- const blobURL = URL.createObjectURL(blob)n
74
+ const blobURL = URL.createObjectURL(blob)
75
75
  const image = new Image()
76
76
  image.onload = () => {
77
77
  let context = this.canvas.getContext('2d')