mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-17 11:14:12 +01:00
Fixed build issue
This commit is contained in:
@@ -49,7 +49,10 @@ var init = function () {
|
||||
|
||||
console.log('Found ',nodes.length,' nodes');
|
||||
console.log('Hooo hooo');
|
||||
mermaidAPI.initialize(mermaid_config);
|
||||
if(typeof mermaid_config !== 'undefined'){
|
||||
mermaidAPI.initialize(mermaid_config);
|
||||
}
|
||||
|
||||
var insertSvg = function(svgCode){
|
||||
element.innerHTML = svgCode;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user