mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01:00 
			
		
		
		
	fix: Fix eslint warnings
This commit is contained in:
		@@ -695,7 +695,7 @@ Examples of tooltip usage below:
 | 
			
		||||
 | 
			
		||||
```html
 | 
			
		||||
<script>
 | 
			
		||||
  var callback = function () {
 | 
			
		||||
  const callback = function () {
 | 
			
		||||
    alert('A callback was triggered');
 | 
			
		||||
  };
 | 
			
		||||
</script>
 | 
			
		||||
@@ -771,10 +771,10 @@ Beginner's tip—a full example using interactive links in a html context:
 | 
			
		||||
  </pre>
 | 
			
		||||
 | 
			
		||||
  <script>
 | 
			
		||||
    var callback = function () {
 | 
			
		||||
    const callback = function () {
 | 
			
		||||
      alert('A callback was triggered');
 | 
			
		||||
    };
 | 
			
		||||
    var config = {
 | 
			
		||||
    const config = {
 | 
			
		||||
      startOnLoad: true,
 | 
			
		||||
      flowchart: { useMaxWidth: true, htmlLabels: true, curve: 'cardinal' },
 | 
			
		||||
      securityLevel: 'loose',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user