You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixes#334
Before this, webpack would generate the following (invalid) code:
var leaflet.draw = …
Now, the it will be more like this:
this['leaflet.draw'] = …
Since this code is executed in the global scope (and this therefore
refers to `window`), it should result in the same thing, just with valid
syntax.
With the setup since #278, webpack generates the following code:
This breaks some mapping functionality.
Possible fix: rename bundle to leafletDraw.
The text was updated successfully, but these errors were encountered: