A recent change (linked below) removed undefined checks on a variety of globals. This causes exceptions in certain environments, for example web workers. If debug is included in a library used in a web worker, it will fail, since web workers do not have global window objects.
I would propose just adding the undefined checks back to the start of the if statements in the code linked below.
cae07b7
A recent change (linked below) removed undefined checks on a variety of globals. This causes exceptions in certain environments, for example web workers. If debug is included in a library used in a web worker, it will fail, since web workers do not have global window objects.
I would propose just adding the undefined checks back to the start of the if statements in the code linked below.
cae07b7