litecanvas 0.97.0 → 0.97.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.
package/dist/dist.dev.js CHANGED
@@ -32,7 +32,7 @@
32
32
  };
33
33
 
34
34
  // src/version.js
35
- var version = "0.97.0";
35
+ var version = "0.97.1";
36
36
 
37
37
  // src/index.js
38
38
  function litecanvas(settings = {}) {
@@ -672,7 +672,7 @@
672
672
  );
673
673
  DEV: assert(
674
674
  "function" === typeof callback,
675
- "[litecanvas] paint() 3rd param must be a function or array"
675
+ "[litecanvas] paint() 3rd param must be a function"
676
676
  );
677
677
  DEV: assert(
678
678
  options && null == options.scale || isNumber(options.scale),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "litecanvas",
3
- "version": "0.97.0",
3
+ "version": "0.97.1",
4
4
  "description": "Lightweight HTML5 canvas 2D game engine suitable for small projects and creative coding. Inspired by PICO-8 and P5/Processing.",
5
5
  "license": "MIT",
6
6
  "author": "Luiz Bills <luizbills@pm.me>",
package/src/index.js CHANGED
@@ -780,7 +780,7 @@ export default function litecanvas(settings = {}) {
780
780
  )
781
781
  DEV: assert(
782
782
  'function' === typeof callback,
783
- '[litecanvas] paint() 3rd param must be a function or array'
783
+ '[litecanvas] paint() 3rd param must be a function'
784
784
  )
785
785
  DEV: assert(
786
786
  (options && null == options.scale) || isNumber(options.scale),
package/src/version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '0.97.0'
2
+ export const version = '0.97.1'