From 217564d4ba9428ed47ff8af6ad119fa6fcda6920 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Fri, 11 Nov 2016 19:04:14 +0100 Subject: webdocs: enhance support for UML and FLOW diagrams Change-Id: Id346b30e8a1f8705d0f42f6d2e1254c0cf926221 Signed-off-by: Stephane Desneux --- site/static/js/process-uml.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'site/static/js/process-uml.js') 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="

Fail to process UML/Flow

" + source + "
" +err; console.log ("Error[%s]: class=%s err=%s diagram=%s", subclass[1], element.className, err, source); } - } } -- cgit 1.2.3-korg