Unnamed repository; edit this file 'description' to name the repository.
Load @hpcc-js/wasm as a script, not worker
Laurențiu Nicola 2022-04-03
parent 0690973 · commit a7e8341
-rw-r--r--editors/code/src/commands.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts
index fe006a63e2..1598284c06 100644
--- a/editors/code/src/commands.ts
+++ b/editors/code/src/commands.ts
@@ -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>