Using browserify for module management, updated build scripts

mermaid_config can be used to config start on load.
This commit is contained in:
knsv
2014-11-21 08:03:43 +01:00
parent eac94e5370
commit d61da879d8
12 changed files with 1409 additions and 848 deletions

View File

@@ -1,9 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<scrpt src="../vendor/d3/d3.js"></scrpt>
<scrpt src="../vendor/dagre-d3/dist/dagre-d3.core.js"></scrpt>
<script src="../dist/mm.full.js"></script>
<script src="../dist/mermaid.full.min.js"></script>
<style id="css">
/* This sets the color for "TK" nodes to a light blue green. */
g.type-TK > rect {
@@ -28,6 +26,11 @@
fill:#fff;
}
</style>
<script>
var mermaid_config = {
startOnLoad:false
}
</script>
</head>
<body>
<div class="mermaid">

View File

@@ -28,7 +28,12 @@
}
</style>
<script src="../dist/mm.full.js"></script>
<script src="../dist/mermaid.full.js"></script>
<script>
var mermaid_config = {
startOnLoad:false
}
</script>
</head>
<body>
<div class="mermaid">