intravenous icon indicating copy to clipboard operation
intravenous copied to clipboard

Not working on worker

Open nevcos opened this issue 7 years ago • 0 comments

If used inside a web worker (shared or dedicated), it throws the following error: ReferenceError: global is not defined This happens because on worker there is no window object.

The workaround is to put a self.global = {} before the import, but it would be awesome to get this fixed.

Thanks

nevcos avatar Mar 03 '17 19:03 nevcos