Load @hpcc-js/wasm as a script, not worker

This commit is contained in:
Laurențiu Nicola 2022-04-03 10:05:36 +03:00
parent 0690973f8e
commit a7e83418d5

View File

@ -517,7 +517,7 @@ function crateGraph(ctx: Ctx, full: boolean): Cmd {
</head>
<body>
<script type="text/javascript" src="${uri}/d3/dist/d3.min.js"></script>
<script type="javascript/worker" src="${uri}/@hpcc-js/wasm/dist/index.min.js"></script>
<script type="text/javascript" src="${uri}/@hpcc-js/wasm/dist/index.min.js"></script>
<script type="text/javascript" src="${uri}/d3-graphviz/build/d3-graphviz.min.js"></script>
<div id="graph"></div>
<script>