Skip to content

Commit

Permalink
Widen Mermaid.js import to 10.x (current major version)
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed May 3, 2024
1 parent 5cb3117 commit 75d87ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/templates/base.html
Expand Up @@ -249,7 +249,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.dd8806f2.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.a7c05c9e.min.js' | url }}"></script>
{% for script in config.extra_javascript %}
{{ script | script_tag }}
{% endfor %}
Expand Down
Expand Up @@ -69,7 +69,7 @@ let sequence = 0
*/
function fetchScripts(): Observable<void> {
return typeof mermaid === "undefined" || mermaid instanceof Element
? watchScript("https://unpkg.com/mermaid@10.7.0/dist/mermaid.min.js")
? watchScript("https://unpkg.com/mermaid@10/dist/mermaid.min.js")
: of(undefined)
}

Expand Down

0 comments on commit 75d87ea

Please sign in to comment.