#1562 Updated handling of pointsarray when the point is already in the array

This commit is contained in:
Knut Sveidqvist
2020-07-21 12:01:08 +02:00
parent 211d6f4005
commit cb79302867
3 changed files with 33 additions and 6 deletions

View File

@@ -523,7 +523,7 @@ function updateRendererConfigs(conf) {
}
function reinitialize(options) {
console.warn(`mermaidAPI.reinitialize: v${pkg.version}`, options);
// console.warn(`mermaidAPI.reinitialize: v${pkg.version}`, options);
if (options.theme && themes[options.theme]) {
// Todo merge with user options
options.themeVariables = themes[options.theme].getThemeVariables(options.themeVariables);
@@ -537,7 +537,7 @@ function reinitialize(options) {
}
function initialize(options) {
console.log(`mermaidAPI.initialize: v${pkg.version} ${options}`);
// console.log(`mermaidAPI.initialize: v${pkg.version} ${options}`);
// Set default options
if (options && options.theme && themes[options.theme]) {