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

Removing reference to window object, to make oboe.js usable with web workers.

Open paulsmithkc opened this issue 4 years ago • 2 comments
trafficstars

Line 2774 references window.location instead of location Line 2788 references window.setTimeout instead of setTimeout

Simply changing these two lines so that they refer to the default global object instead window makes oboe.js usable in a web worker.

Linked Issue #225

paulsmithkc avatar Nov 24 '20 16:11 paulsmithkc

ping @jimhigson

paulsmithkc avatar Aug 10 '21 15:08 paulsmithkc

bump This is a blocking issue for using oboe.js with web workers, which results in a massive performance boost.

paulsmithkc avatar Feb 16 '22 16:02 paulsmithkc