We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4a608f commit 883ba6dCopy full SHA for 883ba6d
packages/php-wasm/web/src/lib/worker-thread/spawn-php-worker-thread.ts
@@ -26,15 +26,3 @@ function addQueryParams(
26
}
27
return urlWithOptions.toString();
28
29
-
30
-async function createIframe(workerDocumentURL: string) {
31
- const iframe = document.createElement('iframe');
32
- const relativeUrl = '/' + workerDocumentURL.split('/').slice(-1)[0];
33
- iframe.src = relativeUrl;
34
- iframe.style.display = 'none';
35
- document.body.appendChild(iframe);
36
- await new Promise((resolve) => {
37
- iframe.addEventListener('load', resolve);
38
- });
39
- return iframe;
40
-}
0 commit comments