mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-11 10:09:39 +02:00
Inclusion of tape tests in new test target for travis
This commit is contained in:
@@ -29,7 +29,9 @@ var init = function () {
|
||||
// Check if previously processed
|
||||
if(!element.getAttribute("data-processed")) {
|
||||
element.setAttribute("data-processed", true);
|
||||
} else continue;
|
||||
} else {
|
||||
continue;
|
||||
}
|
||||
|
||||
var id;
|
||||
|
||||
@@ -62,6 +64,7 @@ var init = function () {
|
||||
break;
|
||||
case 'sequenceDiagram':
|
||||
seq.draw(txt,id);
|
||||
//classes = flowRenderer.getClasses(txt, true);
|
||||
// TODO - Get styles for sequence diagram
|
||||
utils.cloneCssStyles(element.firstChild, classes);
|
||||
break;
|
||||
@@ -97,7 +100,7 @@ if(typeof document !== 'undefined'){
|
||||
// Check presence of config object
|
||||
if(typeof mermaid_config !== 'undefined'){
|
||||
// Check if property startOnLoad is set
|
||||
if(equals(true,mermaid_config.startOnLoad)){
|
||||
if(equals(true, mermaid_config.startOnLoad)){
|
||||
init();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user