mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
Remove console messages
This commit is contained in:
@@ -192,7 +192,6 @@ export const bounds = {
|
|||||||
return this.verticalPos;
|
return this.verticalPos;
|
||||||
},
|
},
|
||||||
getBounds: function() {
|
getBounds: function() {
|
||||||
console.log('here', this.data);
|
|
||||||
return { bounds: this.data, models: this.models };
|
return { bounds: this.data, models: this.models };
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -503,7 +502,6 @@ function adjustLoopHeightForWrap(loopWidths, msg, preMargin, postMargin, addLoop
|
|||||||
*/
|
*/
|
||||||
export const draw = function(text, id) {
|
export const draw = function(text, id) {
|
||||||
conf = configApi.getConfig().sequence;
|
conf = configApi.getConfig().sequence;
|
||||||
console.log('there ', conf);
|
|
||||||
parser.yy.clear();
|
parser.yy.clear();
|
||||||
parser.yy.setWrap(conf.wrap);
|
parser.yy.setWrap(conf.wrap);
|
||||||
parser.parse(text + '\n');
|
parser.parse(text + '\n');
|
||||||
|
@@ -220,7 +220,7 @@ const render = function(id, _txt, cb, container) {
|
|||||||
// console.warn('Render fetching config');
|
// console.warn('Render fetching config');
|
||||||
|
|
||||||
const cnf = configApi.getConfig();
|
const cnf = configApi.getConfig();
|
||||||
console.warn('Render with config after adding new directives', cnf.sequence);
|
// console.warn('Render with config after adding new directives', cnf.sequence);
|
||||||
// console.warn(
|
// console.warn(
|
||||||
// 'Render with config after adding new directives',
|
// 'Render with config after adding new directives',
|
||||||
// cnf.fontFamily,
|
// cnf.fontFamily,
|
||||||
|
@@ -166,6 +166,6 @@ class Theme {
|
|||||||
export const getThemeVariables = userOverrides => {
|
export const getThemeVariables = userOverrides => {
|
||||||
const theme = new Theme();
|
const theme = new Theme();
|
||||||
theme.calculate(userOverrides);
|
theme.calculate(userOverrides);
|
||||||
console.info('Theme(dark)', { userOverrides, theme });
|
// console.info('Theme(dark)', { userOverrides, theme });
|
||||||
return theme;
|
return theme;
|
||||||
};
|
};
|
||||||
|
@@ -147,6 +147,6 @@ class Theme {
|
|||||||
export const getThemeVariables = userOverrides => {
|
export const getThemeVariables = userOverrides => {
|
||||||
const theme = new Theme();
|
const theme = new Theme();
|
||||||
theme.calculate(userOverrides);
|
theme.calculate(userOverrides);
|
||||||
console.info('Theme(forest)', { userOverrides, theme });
|
// console.info('Theme(forest)', { userOverrides, theme });
|
||||||
return theme;
|
return theme;
|
||||||
};
|
};
|
||||||
|
@@ -185,6 +185,6 @@ class Theme {
|
|||||||
export const getThemeVariables = userOverrides => {
|
export const getThemeVariables = userOverrides => {
|
||||||
const theme = new Theme();
|
const theme = new Theme();
|
||||||
theme.calculate(userOverrides);
|
theme.calculate(userOverrides);
|
||||||
console.info('Theme(neutral)', { userOverrides, theme });
|
// console.info('Theme(neutral)', { userOverrides, theme });
|
||||||
return theme;
|
return theme;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user