mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
Cleanup
This commit is contained in:
parent
a8042f622f
commit
1efd5c7d58
@ -29,7 +29,6 @@ export class Diagram {
|
|||||||
const error = { str, hash };
|
const error = { str, hash };
|
||||||
throw error;
|
throw error;
|
||||||
};
|
};
|
||||||
// TODO Q: Should diagrams be parsed inside constructor?
|
|
||||||
this.parse(this.txt, parseError);
|
this.parse(this.txt, parseError);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user