Skip to content

Commit

Permalink
remove explicit window.debug export (#404)
Browse files Browse the repository at this point in the history
Exporting to the "outer" scope of the module is more the responsibility
of the module loader (i.e. browserify, webpack, etc.) and thus this
is not necessary. `make test-browser` still passes after this patch.
  • Loading branch information
TooTallNate authored and thebigredgeek committed Dec 29, 2016
1 parent 62df220 commit 6646130
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,3 @@ function localstorage() {
return window.localStorage;
} catch (e) {}
}

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

0 comments on commit 6646130

Please sign in to comment.