d3-cloud added
This commit is contained in:
parent
13e290e9dc
commit
69e72bd144
|
@ -236,4 +236,8 @@
|
||||||
|
|
||||||
[d3.d3_contour]
|
[d3.d3_contour]
|
||||||
sri = "sha256-i10ISq4/JP3k0HZE8gqbakhgaOjQKWn0Pm8oBUUwqNQ="
|
sri = "sha256-i10ISq4/JP3k0HZE8gqbakhgaOjQKWn0Pm8oBUUwqNQ="
|
||||||
url = "https://cdn.jsdelivr.net/npm/d3-contour@2.0.0/dist/d3-contour.min.js"
|
url = "https://cdn.jsdelivr.net/npm/d3-contour@2.0.0/dist/d3-contour.min.js"
|
||||||
|
|
||||||
|
[d3.d3_cloud]
|
||||||
|
sri = "" # no sri
|
||||||
|
url = "https://cdn.jsdelivr.net/npm/d3-cloud@1.2.5/build/d3.layout.cloud.min.js"
|
|
@ -109,6 +109,9 @@
|
||||||
{{ if in .Params.Libraries "d3_contour" }}
|
{{ if in .Params.Libraries "d3_contour" }}
|
||||||
<script defer src="{{ $d3.d3_contour.url }}" integrity="{{ $d3.d3_contour.sri }}" crossorigin="anonymous"></script>
|
<script defer src="{{ $d3.d3_contour.url }}" integrity="{{ $d3.d3_contour.sri }}" crossorigin="anonymous"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ if in .Params.Libraries "d3_cloud" }}
|
||||||
|
<script defer src="{{ $d3.d3_cloud.url }}" integrity="{{ $d3.d3_cloud.sri }}" crossorigin="anonymous"></script>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if in .Params.Libraries "mermaid" }}
|
{{ if in .Params.Libraries "mermaid" }}
|
||||||
<script defer src="{{ $js.mermaid.url }}" integrity="{{ $js.mermaid.sri }}" crossorigin="anonymous"></script>
|
<script defer src="{{ $js.mermaid.url }}" integrity="{{ $js.mermaid.sri }}" crossorigin="anonymous"></script>
|
||||||
|
|
Loading…
Reference in New Issue