From 96350f3be8993c091b994fefc3b6586e5dcca905 Mon Sep 17 00:00:00 2001 From: Vladimir Pavlenko Date: Fri, 6 Dec 2019 09:52:28 +0500 Subject: [PATCH] Global variable `boundary` fix: add global variable `boundary` for js strict mode --- wicket-leaflet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicket-leaflet.js b/wicket-leaflet.js index aadeb98..299696b 100644 --- a/wicket-leaflet.js +++ b/wicket-leaflet.js @@ -203,7 +203,7 @@ * @return {Object} A hash of the 'type' and 'components' thus derived */ Wkt.Wkt.prototype.deconstruct = function (obj) { - var attr, coordsFromLatLngs, features, i, verts, rings, tmp; + var attr, coordsFromLatLngs, features, i, verts, rings, tmp, boundary; /** * Accepts an Array (arr) of LatLngs from which it extracts each one as a