mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
fix: broken test
This commit is contained in:
parent
384afc1a6d
commit
46cdacfdc7
@ -11,9 +11,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="./mermaid.js"></script>
|
<script src="./mermaid.js"></script>
|
||||||
<script>mermaid.init({ startOnLoad: false, securityLevel: 'sandbox' });
|
<script>mermaid.init({ startOnLoad: false });
|
||||||
|
|
||||||
mermaid.mermaidAPI.initialize({ securityLevel: 'sandbox' });
|
mermaid.mermaidAPI.initialize({ securityLevel: 'strict' });
|
||||||
|
|
||||||
try {
|
try {
|
||||||
console.log('rendering');
|
console.log('rendering');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user