mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-13 04:19:44 +02:00
Cleanup
This commit is contained in:
@@ -240,7 +240,6 @@ function executeInPage(data) {
|
||||
|
||||
document.body.appendChild(sc)
|
||||
}else{
|
||||
console.log('NO gantt config');
|
||||
sc = document.createElement("script")
|
||||
scContent = document.createTextNode('mermaid.ganttConfig = {useWidth:1200};')
|
||||
sc.appendChild(scContent)
|
||||
@@ -256,7 +255,5 @@ function executeInPage(data) {
|
||||
svg = document.querySelector('svg')
|
||||
svgValue = xmlSerializer.serializeToString(svg)
|
||||
|
||||
//console.log(document.body.outerHTML);
|
||||
|
||||
return svgValue
|
||||
}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
```mermaid
|
||||
```
|
||||
gantt
|
||||
dateFormat yyyy-mm-dd
|
||||
title Adding gantt diagram functionality to mermaid
|
||||
|
Reference in New Issue
Block a user