Skip to content

First pass to remove global L#987

Open
attiks wants to merge 2 commits into
Leaflet:masterfrom
UN-OCHA:es6
Open

First pass to remove global L#987
attiks wants to merge 2 commits into
Leaflet:masterfrom
UN-OCHA:es6

Conversation

@attiks
Copy link
Copy Markdown

@attiks attiks commented Mar 25, 2020

First attempt on removing the use of global L so the files can be imported

PS: Dist files do compile but I didn't test them

#984

@jonassmedegaard
Copy link
Copy Markdown

Please avoid any other ES6 lingo other than ES module related "export" and "import", for the resulting rollup-bundled code to still be ES5: Replace two instances of "let " with "var ".

Comment thread src/MarkerCluster.Spiderfier.js Outdated
Comment thread src/MarkerClusterGroup.js Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants