Skip to content

Commit 6646130

Browse files
TooTallNatethebigredgeek
authored andcommitted
remove explicit window.debug export (#404)
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.
1 parent 62df220 commit 6646130

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/browser.js

-5
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,3 @@ function localstorage() {
180180
return window.localStorage;
181181
} catch (e) {}
182182
}
183-
184-
/** Attach to Window*/
185-
if (typeof window !== 'undefined') {
186-
window.debug = exports;
187-
}

0 commit comments

Comments
 (0)