mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-18 03:34:12 +01:00
enable eslint fix and eslint-plugin-jsdoc
This commit is contained in:
committed by
Matthieu Morel
parent
c29c8bd33c
commit
4d103c14f7
@@ -117,10 +117,12 @@ let endCnt = 0; // eslint-disable-line
|
||||
|
||||
/**
|
||||
* Function called by parser when a node definition has been found.
|
||||
* @param id
|
||||
* @param text
|
||||
* @param type
|
||||
* @param style
|
||||
*
|
||||
* @param {any} id
|
||||
* @param {any} type
|
||||
* @param {any} doc
|
||||
* @param {any} descr
|
||||
* @param {any} note
|
||||
*/
|
||||
export const addState = function (id, type, doc, descr, note) {
|
||||
if (typeof currentDocument.states[id] === 'undefined') {
|
||||
|
||||
Reference in New Issue
Block a user