mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 12:14:07 +01:00
Remove console.logs
This commit is contained in:
@@ -1822,7 +1822,6 @@ const config: Partial<MermaidConfig> = {
|
||||
},
|
||||
};
|
||||
|
||||
console.log(JSON.stringify(config));
|
||||
if (config.class) config.class.arrowMarkerAbsolute = config.arrowMarkerAbsolute;
|
||||
if (config.gitGraph) config.gitGraph.arrowMarkerAbsolute = config.arrowMarkerAbsolute;
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ const render = function (
|
||||
id: string,
|
||||
text: string,
|
||||
cb: (svgCode: string, bindFunctions?: (element: Element) => void) => void,
|
||||
container: Element
|
||||
container?: Element
|
||||
): void {
|
||||
configApi.reset();
|
||||
text = text.replace(/\r\n?/g, '\n'); // parser problems on CRLF ignore all CR and leave LF;;
|
||||
@@ -493,7 +493,6 @@ export const mermaidAPI = Object.freeze({
|
||||
|
||||
setLogLevel(configApi.getConfig().logLevel);
|
||||
configApi.reset(configApi.getConfig());
|
||||
console.log(mermaidAPI);
|
||||
export default mermaidAPI;
|
||||
/**
|
||||
* ## mermaidAPI configuration defaults
|
||||
|
||||
Reference in New Issue
Block a user