With web workers the klay.js script is loaded multiple times
Opened this issue · 0 comments
uruuru commented
Including the klay.js script in an html file using a script
tag results in the script being loaded twice if a web worker is used.
At the moment there's some magic going on to locate the klay.js
script and feed it to the web worker initialization, which is based on the included d3 wrapper (with or without ww
). Instead, one should either have to explicitly set the path of the klay.js
script when using the web worker, or at least specify it as a data
tag to prevent double execution.