Skip to content

Conversation

JesseFarebro
Copy link

When trying to use the debug module within the browser in the context of a web worker, document and window aren't available, therefore it will throw an exception. Checking for document and window before using colors seems to be the only place where these checks are performed before initialization.

@nikcorg
Copy link

nikcorg commented Oct 23, 2015

This is pretty similar to #139.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants