From 643ca522c125a15e9d10e54b54718af782c1b1b7 Mon Sep 17 00:00:00 2001 From: Denis Date: Tue, 21 Feb 2017 07:37:57 -0500 Subject: [PATCH] Export lastId in Util (#5349) Looking over at the documentation I noticed that `lastId` was an available property however it wasn't exported. http://leafletjs.com/reference-1.0.3.html#util-lastid --- src/core/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Util.js b/src/core/Util.js index 8d31fbdc..f8a7a474 100644 --- a/src/core/Util.js +++ b/src/core/Util.js @@ -45,7 +45,7 @@ export function bind(fn, obj) { }; } -var lastId = 0; +export var lastId = 0; // @function stamp(obj: Object): Number // Returns the unique ID of an object, assiging it one if it doesn't have it.