Verified Commit 90be5d1c authored by Stefan Brunecker's avatar Stefan Brunecker
Browse files

Change variable name to be consistent

parent 35e1c688
......@@ -59,7 +59,7 @@ public class HtmlGenerator {
List<Port> outports = produceOutports(model.getOutgoingPorts());
Map<String, Object> dataModel = new HashMap<>();
dataModel.put("modelName", getComponentName(model));
dataModel.put("model_name", getComponentName(model));
dataModel.put("model", wasmNamingFunction.apply(model));
dataModel.put("model_wrapper", wrapperNamingFunction.apply(model));
dataModel.put("inports", inports);
......
......@@ -66,13 +66,13 @@
src="https://cdnjs.cloudflare.com/ajax/libs/mathjs/4.0.1/math.min.js"></script>
<script type="text/javascript" src="${model_wrapper}.js"></script>
<script type="text/javascript" src="${model}.js"></script>
<title>${modelName}</title>
<title>${model_name}</title>
</head>
<body>
<div class="container">
<div class="model">
<div class="header">
<h2>${modelName}</h2>
<h2>${model_name}</h2>
</div>
<div class="ports">
<div class="inports">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment