Skip to content

Commit

Permalink
Fix js dep (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
armandfardeau committed Apr 18, 2023
1 parent 8859848 commit dd68516
Show file tree
Hide file tree
Showing 5 changed files with 431 additions and 75 deletions.
4 changes: 4 additions & 0 deletions app/packs/entrypoints/decidim_homepage_interactive_map.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
import "leaflet"
import "leaflet-tilelayer-here"
import "leaflet-svgicon"
import "leaflet.markercluster"
import "src/decidim/homepage_interactive_map/interactive_map"
import "src/decidim/homepage_interactive_map/scope"
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import * as L from "leaflet";
import "src/decidim/vendor/leaflet-tilelayer-here"
import "src/decidim/map/icon.js" // comes with Decidim
import "leaflet.markercluster"; // Comes with Decidim
import "leaflet.featuregroup.subgroup" // included in this package.json
import "src/vendor/jquery.truncate"

import "src/vendor/leaflet-polylabel-centroid";

L.DivIcon.SVGIcon.DecidimIcon = L.DivIcon.SVGIcon.extend({
Expand Down
244 changes: 244 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"jquery": "^3.6.0",
"jsrender": "^1.0.11",
"leaflet": "^1.8.0",
"leaflet-svgicon": "^0.0.2",
"leaflet.featuregroup.subgroup": "^1.0.2",
"leaflet.markercluster": "^1.5.3",
"proj4": "^2.8.0",
"proj4leaflet": "^1.0.2"
}
Expand Down
Loading

0 comments on commit dd68516

Please sign in to comment.