diff options
Diffstat (limited to 'site/static/js/process-uml.js')
-rw-r--r-- | site/static/js/process-uml.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/site/static/js/process-uml.js b/site/static/js/process-uml.js index 8937612..ea640a0 100644 --- a/site/static/js/process-uml.js +++ b/site/static/js/process-uml.js @@ -56,14 +56,13 @@ $(document).ready(function() { element.appendChild (iDiv); try { - var diagram=parser.parse (source); + var diagram=parser.parse (source); diagram.drawSVG(iDiv, {theme: style}); } catch (err) { element.classList.add ("error"); element.innerText="<p>Fail to process UML/Flow<p>" + source + "<br>" +err; console.log ("Error[%s]: class=%s err=%s diagram=%s", subclass[1], element.className, err, source); } - } } |