Skip to content

Commit

Permalink
Readded call to mermaidAPI in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrdavismaine committed Dec 13, 2019
1 parent c10ccc0 commit 1d0b305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ The example below show an outline of how this could be used. The example just lo
<script src="mermaid.js"></script>

<script>
mermaid.initialize({
mermaid.mermaidAPI.initialize({
startOnLoad:false
});
$(function(){
Expand All @@ -177,7 +177,7 @@ The example below show an outline of how this could be used. The example just lo
};
var graphDefinition = 'graph TB\na-->b';
var graph = mermaid.render('graphDiv', graphDefinition, insertSvg);
var graph = mermaid.mermaidAPI.render('graphDiv', graphDefinition, insertSvg);
});
</script>
```
Expand Down

0 comments on commit 1d0b305

Please sign in to comment.