mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 21:39:40 +02:00
Removed illegal logging
This commit is contained in:
@@ -220,7 +220,7 @@ const render = function(id, _txt, cb, container) {
|
||||
// console.warn('Render fetching config');
|
||||
|
||||
const cnf = configApi.getConfig();
|
||||
console.warn('Render with config after adding new directives', cnf.fontFamily);
|
||||
// console.log('Render with config after adding new directives', cnf.fontFamily);
|
||||
// Check the maximum allowed text size
|
||||
if (_txt.length > cnf.maxTextSize) {
|
||||
txt = 'graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa';
|
||||
@@ -552,7 +552,7 @@ function reinitialize() {
|
||||
}
|
||||
|
||||
function initialize(options) {
|
||||
console.warn(`mermaidAPI.initialize: v${pkg.version} `, options);
|
||||
// console.warn(`mermaidAPI.initialize: v${pkg.version} `, options);
|
||||
|
||||
// Handle legacy location of font-family configuration
|
||||
// console.warn('Conf - ', options.themeVariables.fontFamily);
|
||||
|
Reference in New Issue
Block a user