Skip to content

Commit

Permalink
leaflet 1.9.3 (OrchardCMS#12482)
Browse files Browse the repository at this point in the history
  • Loading branch information
agriffard authored Nov 21, 2022
1 parent 4d326e9 commit 2c83aa3
Show file tree
Hide file tree
Showing 13 changed files with 1,065 additions and 420 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ static ResourceManagementOptionsConfiguration()
_manifest
.DefineScript("leaflet")
.SetUrl("/OrchardCore.Spatial/Scripts/leaflet/leaflet.js", "/OrchardCore.Spatial/Scripts/leaflet/leaflet-src.js")
.SetCdn("https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.js", "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet-src.js")
.SetCdnIntegrity("sha384-vdvDM6Rl/coCrMsKwhal4uc9MUUFNrYa+cxp+nJQHy3TvozEpVKVexz/NTbE5VSO", "sha384-mc6rNK5V0bzWGJ1EUEAR2o+a/oH6qaVl+NCF63Et+mVpGnlSnyVSBhSP/wp4ir+O")
.SetVersion("1.7.1");
.SetCdn("https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.3/leaflet.js", "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.3/leaflet-src.js")
.SetCdnIntegrity("sha384-okbbMvvx/qfQkmiQKfd5VifbKZ/W8p1qIsWvE1ROPUfHWsDcC8/BnHohF7vPg2T6", "sha384-x7PoOOpgJGgUPTj6ajie0SBQfPZ8S2FtDd8L0gQn3s+Sz9dvzwoSWvqbltR97ThL")
.SetVersion("1.9.3");

_manifest
.DefineStyle("leaflet")
.SetUrl("/OrchardCore.Spatial/Styles/leaflet.min.css", "/OrchardCore.Spatial/Styles/leaflet.css")
.SetCdn("https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.css", "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.css")
.SetCdnIntegrity("sha384-d7pQbIswLsqVbYoAoHHlzPt+fmjkMwiXW/fvtIgK2r1u1bZXvGzL9HICUg4DKSgO", "sha384-VzLXTJGPSyTLX6d96AxgkKvE/LRb7ECGyTxuwtpjHnVWVZs2gp5RDjeM/tgBnVdM")
.SetVersion("1.7.1");
.SetCdn("https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.3/leaflet.min.css", "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.9.3/leaflet.css")
.SetCdnIntegrity("sha384-cTNLivltikBj6gZvv7PqNudNArGkBGBg1p7ZM56VRY0iSLEdQW8AVLZkMCHCcyc+", "sha384-o/2yZuJZWGJ4s/adjxVW71R+EO/LyCwdQfP5UWSgX/w87iiTXuvDZaejd3TsN7mf")
.SetVersion("1.9.3");
}

public void Configure(ResourceManagementOptions options)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
</div>
</div>
<script asp-name="coordinate-leaflet-field" depends-on="leaflet,jQuery" asp-src="~/OrchardCore.Spatial/Scripts/coordinate-leaflet-field.min.js" debug-src="~/OrchardCore.Spatial/Scripts/coordinate-leaflet-field.js" at="Foot"></script>
<style asp-name="leaflet" version="1.7.1"></style>
<style asp-name="leaflet" version="1"></style>
14 changes: 7 additions & 7 deletions src/OrchardCore.Modules/OrchardCore.Spatial/package-lock.json

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

2 changes: 1 addition & 1 deletion src/OrchardCore.Modules/OrchardCore.Spatial/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "orchardcore.spatial",
"version": "1.0.0",
"dependencies": {
"leaflet": "1.8.0"
"leaflet": "1.9.3"
}
}
Loading

0 comments on commit 2c83aa3

Please sign in to comment.