node-red-contrib-web-worldmap 2.28.2 → 2.28.3

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ### Change Log for Node-RED Worldmap
2
2
 
3
- - v2.28.2 - Let button declaration be an array
3
+ - v2.28.3 - Let button declaration be an array
4
4
  - v2.28.1 - Fix layer command bug for non-core layers. Issue #195
5
5
  - v2.28.0 - Better Handling of sidc icons in geojson
6
6
  - v2.27.3 - Try to handle greatcircles crossing antimeridian
package/README.md CHANGED
@@ -11,7 +11,7 @@ map web page for plotting "things" on.
11
11
 
12
12
  ### Updates
13
13
 
14
- - v2.28.2 - Let button declaration be an array
14
+ - v2.28.3 - Let button declaration be an array
15
15
  - v2.28.1 - Fix layer command bug for non-core layers. Issue #195
16
16
  - v2.28.0 - Better Handling of sidc icons in geojson
17
17
  - v2.27.3 - Try to handle greatcircles crossing antimeridian
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-red-contrib-web-worldmap",
3
- "version": "2.28.2",
3
+ "version": "2.28.3",
4
4
  "description": "A Node-RED node to provide a web page of a world map for plotting things on.",
5
5
  "dependencies": {
6
6
  "@turf/bezier-spline": "~6.5.0",
@@ -2166,7 +2166,7 @@ function doCommand(cmd) {
2166
2166
  }
2167
2167
  }
2168
2168
  if (cmd.hasOwnProperty("button")) {
2169
- if (!isArray(cmd.button)) { cmd.button = [cmd.button]; }
2169
+ if (!Array.isArray(cmd.button)) { cmd.button = [cmd.button]; }
2170
2170
  cmd.button.forEach(function(b) {
2171
2171
  if (b.icon) {
2172
2172
  if (!buttons[b.name]) {