Parallel.js have problems with Blob in IE

痴心易碎 提交于 2019-12-02 07:47:48

In case you're still having trouble with this, to make Parallel.js work in Internet Explorer you have to include the evalPath option, as mentioned on the website:

evalPath (optional): This is the path to the file eval.js. This is required when running in node, and required when requiring files in browser environments (to work around cross-domain restrictions for web workers in IE 10).

This also applies to IE 11.

So your code will become:

var p = new Parallel(items, {evalPath: [PATH_TO_EVAL_JS]});

Where [PATH_TO_EVAL_JS] points to eval.js.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!