summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2018-10-23 19:45:48 +0200
committerJose <jose@zeroc.com>2018-10-23 19:45:48 +0200
commit59dd5ab040fbaf266570460a0f1520f1387ca2c5 (patch)
treecd93f368c89ee2bfeeac41503f07bdf7c7768d5b /js
parentFix JavaScript Safari es5/worker tests not working (diff)
downloadice-59dd5ab040fbaf266570460a0f1520f1387ca2c5.tar.bz2
ice-59dd5ab040fbaf266570460a0f1520f1387ca2c5.tar.xz
ice-59dd5ab040fbaf266570460a0f1520f1387ca2c5.zip
Do not include babel polyfill when using workers
Diffstat (limited to 'js')
-rw-r--r--js/bin/HttpServer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bin/HttpServer.js b/js/bin/HttpServer.js
index 9cc3a71995e..aaf3658086c 100644
--- a/js/bin/HttpServer.js
+++ b/js/bin/HttpServer.js
@@ -116,7 +116,7 @@ function Init()
if(worker)
{
// Do not include babel polyfill when using workers, it is bundle with the controllerwoker
- TestData.workerScripts = TestData.scripts.filter(script => script.indexOf("/babel-polyfill/") === -1);
+ TestData.workerScripts = TestData.scripts.filter(script => script.indexOf("/@babel/polyfill/") === -1);
}
res.writeHead(200, {"Content-Type": "text/html"});