Cleanup
This commit is contained in:
parent
b97e5ff5b0
commit
9fb45a3ab7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue