Merge github.com:mermaid-js/mermaid into eslint-fix

This commit is contained in:
Yash-Singh1
2021-11-11 10:31:08 -08:00
42 changed files with 1285 additions and 1880 deletions

View File

@@ -3,6 +3,12 @@ import { select } from 'd3';
import { log } from './logger';
const conf = {};
/**
* Merges the value of `conf` with the passed `cnf`
*
* @param {object} cnf Config to merge
*/
export const setConf = function (cnf) {
const keys = Object.keys(cnf);
@@ -14,8 +20,8 @@ export const setConf = function (cnf) {
/**
* Draws a an info picture in the tag with id: id based on the graph definition in text.
*
* @param {any} id
* @param {any} ver
* @param {string} id The text for the error
* @param {string} ver The version
*/
export const draw = (id, ver) => {
try {