diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2016-11-11 19:04:14 +0100 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@iot.bzh> | 2016-11-11 19:04:14 +0100 |
commit | 217564d4ba9428ed47ff8af6ad119fa6fcda6920 (patch) | |
tree | 6c728d992140e6df5e5580f1ce4fa409fa22596f /site/static/js | |
parent | 5848a1052714da051ff8361dd880004e8cdc75ce (diff) |
webdocs: enhance support for UML and FLOW diagrams
Change-Id: Id346b30e8a1f8705d0f42f6d2e1254c0cf926221
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'site/static/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); } - } } |