Remove console.logs

This commit is contained in:
Sidharth Vinod
2022-08-23 21:35:33 +05:30
parent 9a0d5e31b7
commit 32ba2d5ffe
3 changed files with 28 additions and 26 deletions

View File

@@ -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