mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
docs: Fix changelog
This commit is contained in:
parent
b868777184
commit
bdf2667389
@ -26,7 +26,7 @@ element.innerHTML = svg;
|
||||
bindFunctions?.(element);
|
||||
|
||||
// >= v10 with promise.then
|
||||
mermaid.render('graph TD;A-->B').then(({ svg, bindFunctions }) => {
|
||||
mermaid.render('id', 'graph TD;A-->B').then(({ svg, bindFunctions }) => {
|
||||
element.innerHTML = svg;
|
||||
bindFunctions?.(element);
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user