Skip to content

Commit

Permalink
Fix mindmap demo
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Mar 7, 2023
1 parent 1ecf156 commit 86aa7ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions demos/mindmap.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ <h2>Mindmap with root wrapping text and a shape</h2>

<script type="module">
import mermaid from './mermaid.esm.mjs';
import mermaidMindmap from './mermaid-mindmap.esm.mjs';

const ALLOWED_TAGS = [
'a',
Expand Down Expand Up @@ -82,7 +81,6 @@ <h2>Mindmap with root wrapping text and a shape</h2>
mermaid.parseError = function (err, hash) {
// console.error('Mermaid error: ', err);
};
await mermaid.registerExternalDiagrams([mermaidMindmap]);
mermaid.initialize({
theme: 'base',
startOnLoad: true,
Expand Down

0 comments on commit 86aa7ab

Please sign in to comment.