mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 16:59:48 +02:00
Cleanup
This commit is contained in:
@@ -19,7 +19,6 @@ import timeline from '../diagrams/timeline/detector';
|
|||||||
import mindmap from '../diagrams/mindmap/detector';
|
import mindmap from '../diagrams/mindmap/detector';
|
||||||
import { registerLazyLoadedDiagrams } from './detectType';
|
import { registerLazyLoadedDiagrams } from './detectType';
|
||||||
|
|
||||||
|
|
||||||
let hasLoadedDiagrams = false;
|
let hasLoadedDiagrams = false;
|
||||||
export const addDiagrams = () => {
|
export const addDiagrams = () => {
|
||||||
if (hasLoadedDiagrams) {
|
if (hasLoadedDiagrams) {
|
||||||
|
Reference in New Issue
Block a user