Skip to content

Commit

Permalink
remove explicit window.debug export
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 committed Dec 26, 2016
1 parent 9a18d66 commit 8b18dae
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 8b18dae

Please sign in to comment.