-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Open
Labels
Status: TriageNeeds to be verified, categorized, etcNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrectSomething isn't working or is incorrect
Description
Description
The version 11 not working < chrome 94. in my screenshot below is chrome 92. It seems the syntax Classes/Static_initialization_blocks not supported.
Any idea on how to solve this issue if I want to use the lattest version of mermaid. It seems to work if I downgrade to version 9. What is the best way to support older verison of browser?
I try to watch the useragent (chrome 92), and run the specified version of mermaid by inserting the script of the cdn to the document.body.
Steps to reproduce
- open chrome < 94, maybe just try 92.
- load the version 11 of mermaid run the script
- the syntax error showed.
Screenshots
No response
Code Sample
Setup
- Mermaid version:
- Browser and Version: [Chrome, Edge, Firefox]
Suggested Solutions
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
Status: TriageNeeds to be verified, categorized, etcNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrectSomething isn't working or is incorrect