Skip to content

Commit

Permalink
Get rid of unused module.exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Caldwell committed May 5, 2020
1 parent 9ef70a2 commit 098d419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/maps_legacy/public/leaflet.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export let L;

if (!window.hasOwnProperty('L')) {
require('leaflet/dist/leaflet.css');
window.L = module.exports = require('leaflet/dist/leaflet.js');
window.L = require('leaflet/dist/leaflet.js');
window.L.Browser.touch = false;
window.L.Browser.pointer = false;

Expand Down

0 comments on commit 098d419

Please sign in to comment.