mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-02-04 07:13:25 +08:00
Merge pull request #298 from LarryKlugerDS/master
Issue 297 - src/mermaid.js generates bad code
This commit is contained in:
commit
193ee657e6
@ -67,8 +67,7 @@ var init = function () {
|
|||||||
nodes = nodes === undefined ? document.querySelectorAll('.mermaid')
|
nodes = nodes === undefined ? document.querySelectorAll('.mermaid')
|
||||||
: typeof nodes === 'string' ? document.querySelectorAll(nodes)
|
: typeof nodes === 'string' ? document.querySelectorAll(nodes)
|
||||||
: nodes instanceof Node ? [nodes]
|
: nodes instanceof Node ? [nodes]
|
||||||
/*! Last case - sequence config was passed pick next */
|
: nodes; // Last case - sequence config was passed pick next
|
||||||
: nodes;
|
|
||||||
|
|
||||||
var i;
|
var i;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user