FastestSmallestTextEncoderDecoder icon indicating copy to clipboard operation
FastestSmallestTextEncoderDecoder copied to clipboard

Worklet support

Open daxpedda opened this issue 1 year ago • 0 comments

To support Worklets we have to consider globalThis.

Basically: https://github.com/anonyco/FastestSmallestTextEncoderDecoder/blob/f04c88cf11024672e4d3e3dd59b9530b50eefbed/EncoderDecoderTogether.src.js#L453 has to be changed to:

})(typeof global == "" + void 0 ? typeof self == "" + void 0 ? typeof this == "" + void 0 ? globalThis : this : self : global);

daxpedda avatar Feb 17 '23 15:02 daxpedda