Merge pull request #20424 from sbajtl:worker-importscript-bugfix

pull/20455/head^2
Alexander Alekhin 3 years ago
commit 06dcc5a2c6
  1. 2
      modules/js/src/make_umd.py

@ -95,7 +95,7 @@ def make_umd(opencvjs, cvjs):
root.cv = factory();
} else if (typeof importScripts === 'function') {
// Web worker
root.cv = factory;
root.cv = factory();
} else {
// Other shells, e.g. d8
root.cv = factory();

Loading…
Cancel
Save