Skip to content

Commit

Permalink
fix(browser): prevent ReferenceError in workers (#393)
Browse files Browse the repository at this point in the history
fixes #382
  • Loading branch information
KlausTrainer authored and thebigredgeek committed Dec 26, 2016
1 parent 280a64d commit eba68ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,6 @@ function localstorage() {
}

/** Attach to Window*/
if (window) {
if (typeof window !== 'undefined') {
window.debug = exports;
}

0 comments on commit eba68ce

Please sign in to comment.