mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Widen Mermaid.js import to 10.x (current major version)
This commit is contained in:
parent
5cb3117f50
commit
75d87eaf7e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -249,7 +249,7 @@
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% 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 %}
|
{% for script in config.extra_javascript %}
|
||||||
{{ script | script_tag }}
|
{{ script | script_tag }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -69,7 +69,7 @@ let sequence = 0
|
|||||||
*/
|
*/
|
||||||
function fetchScripts(): Observable<void> {
|
function fetchScripts(): Observable<void> {
|
||||||
return typeof mermaid === "undefined" || mermaid instanceof Element
|
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)
|
: of(undefined)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user