Issue 297 - src/mermaid.js generates bad code

This commit is contained in:
LarryKlugerDS
2016-02-10 08:16:03 +02:00
parent 9aa4a79d6e
commit b5a030c78d

View File

@@ -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;