mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 07:49:43 +02:00
format
This commit is contained in:
@@ -266,9 +266,6 @@ const setClickFun = function(id, functionName, functionArgs) {
|
|||||||
/* This preserves all starting and ending whitespace inside */
|
/* This preserves all starting and ending whitespace inside */
|
||||||
if (item.charAt(0) === '"' && item.charAt(item.length - 1) === '"') {
|
if (item.charAt(0) === '"' && item.charAt(item.length - 1) === '"') {
|
||||||
item = item.substr(1, item.length - 2);
|
item = item.substr(1, item.length - 2);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
argList[i] = item;
|
argList[i] = item;
|
||||||
}
|
}
|
||||||
@@ -724,6 +721,7 @@ export default {
|
|||||||
addClass,
|
addClass,
|
||||||
setDirection,
|
setDirection,
|
||||||
setClass,
|
setClass,
|
||||||
|
setTooltip,
|
||||||
getTooltip,
|
getTooltip,
|
||||||
setClickEvent,
|
setClickEvent,
|
||||||
setLink,
|
setLink,
|
||||||
|
Reference in New Issue
Block a user