Skip to content
Snippets Groups Projects
Commit 31f8d6b4 authored by Moritz Langenstein's avatar Moritz Langenstein
Browse files

(ml5717) Run queue.js as a module

parent ef4f4dee
No related branches found
No related tags found
1 merge request!67Benchmark testing
Pipeline #106520 passed
...@@ -35,7 +35,7 @@ function extend(Y) { ...@@ -35,7 +35,7 @@ function extend(Y) {
// #!if false // #!if false
path = "./src/queue.js" path = "./src/queue.js"
// #!endif // #!endif
this.queue = new Worker(path) this.queue = new Worker(path, [], { esm: true })
this.queue.onmessage = (event) => { this.queue.onmessage = (event) => {
const method = event.data.method const method = event.data.method
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment