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:
parent
c9fbf54570
commit
643ca522c1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user