We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 280a64d commit eba68ceCopy full SHA for eba68ce
1 file changed
src/browser.js
@@ -182,6 +182,6 @@ function localstorage() {
182
}
183
184
/** Attach to Window*/
185
-if (window) {
+if (typeof window !== 'undefined') {
186
window.debug = exports;
187
0 commit comments