Skip to content

Commit

Permalink
Always export window.L; fixes #5489
Browse files Browse the repository at this point in the history
  • Loading branch information
Per Liedman committed May 10, 2017
1 parent ecc2c68 commit a63269a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ export function noConflict() {
window.L = oldL;
return this;
}

// Always export us to window global (see #2364)
window.L = exports;

0 comments on commit a63269a

Please sign in to comment.