build: setup eslint-plugin-json (#2552)

Co-authored-by: Yash Singh <saiansh2525@gmail.com>
This commit is contained in:
Matthieu MOREL
2022-05-11 02:52:55 +02:00
committed by GitHub
parent b7b02fcc2c
commit 3a56bbed2e
11 changed files with 71 additions and 67 deletions

View File

@@ -414,9 +414,7 @@ Examples of tooltip usage below:
```html
<script>
var callback = function(){
alert('A callback was triggered');
}
var callback = function(){ alert('A callback was triggered'); };
</script>
```
@@ -464,19 +462,8 @@ Beginners tip, a full example using interactive links in a html context:
</div>
<script>
var callback = function(){
alert('A callback was triggered');
}
var config = {
startOnLoad:true,
flowchart:{
useMaxWidth:true,
htmlLabels:true,
curve:'cardinal',
},
securityLevel:'loose',
};
var callback = function(){ alert('A callback was triggered'); }; var config = { startOnLoad:true,
flowchart:{ useMaxWidth:true, htmlLabels:true, curve:'cardinal', }, securityLevel:'loose', };
mermaid.initialize(config);
</script>
</body>