g.js icon indicating copy to clipboard operation
g.js copied to clipboard

Fix JSHint error. Fix PathKit support for web workers

Open rafern opened this issue 3 years ago • 1 comments

When in a web worker, g.js fails to detect PathKit because it only checks in the window object, which is not available in web workers. This PR makes it also check in the self object. An better solution in the future would be to make this configurable via a new API

rafern avatar Jul 12 '22 08:07 rafern

~~I found an issue, so I'm going to mark this as a draft~~ false alarm, the issue was external

rafern avatar Jul 12 '22 08:07 rafern