visionmedia/debug — pull request #139 by nikcorg (2014-09-20 13:28:22+00:00)
Title: Adds check to useColors for ServerWorker context

When bundling `debug` using `browserify` the browser version is used, and the `useColors` check crashes when in a ServiceWorker, because `document`, `window` and `navigator` are all `undefined`.