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
This commit is contained in:
Denis 2017-02-21 07:37:57 -05:00 committed by Per Liedman
parent c9fbf54570
commit 643ca522c1

View File

@ -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.