New docs and updated dist

This commit is contained in:
knsv
2015-09-26 13:00:30 +02:00
parent fb94aaaa6f
commit 709ebe524d
27 changed files with 91032 additions and 30619 deletions

View File

@@ -144,7 +144,7 @@ could be used. The example just logs the resulting svg to the javascript console
<script>
mermaidAPI.initialize({
startOnLoad:false
});
});
// Example of using the API
$(function(){
var graphDefinition = 'graph TB\na-->b';
@@ -158,7 +158,7 @@ could be used. The example just logs the resulting svg to the javascript console
$ = require('jquery');
mermaidAPI = require('mermaid').mermaidAPI;
mermaidAPI.initialize({
startOnLoad:false
startOnLoad:false
});
$(function(){