mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-11 11:29:42 +02:00
Merge branch 'develop' into sidv/linkDocsSource
* develop: (36 commits) chore(deps): update actions/setup-node action to v3 Remove inconsistent and deprecated semicolons chore(deps): update actions/checkout action to v3 docs: Fix initial install step docs: Update twitter link chore: renovate lint Update renovate.json chore: Bump node to v18 chore: Set node v16 chore: Add volta chore(deps): add renovate.json Contrbution steps updated refactor: use `posix.join()` instead of replacing `\` Link added for local setup contribution.md updated fix: Fix eslint warnings fix: docs path in windows docs: Add twitter docs: Add version to doc index.html Update packages/mermaid/src/docs/n00b-gettingStarted.md ...
This commit is contained in:
@@ -649,7 +649,7 @@ A node can have click events bound that lead to either a JavaScript callback or
|
||||
|
||||
```html
|
||||
<script>
|
||||
var callback = function (nodeId) {
|
||||
const callback = function (nodeId) {
|
||||
alert('A callback was triggered on ' + nodeId);
|
||||
};
|
||||
</script>
|
||||
@@ -727,10 +727,10 @@ Beginner's tip—here's a full example of using interactive links in HTML:
|
||||
</pre>
|
||||
|
||||
<script>
|
||||
var callback = function () {
|
||||
const callback = function () {
|
||||
alert('A callback was triggered');
|
||||
};
|
||||
var config = {
|
||||
const config = {
|
||||
startOnLoad: true,
|
||||
flowchart: {
|
||||
useMaxWidth: true,
|
||||
|
Reference in New Issue
Block a user