mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-30 05:36:43 +02:00
Issue 297 - src/mermaid.js generates bad code
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user