We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e8ad63 commit 2d1e75bCopy full SHA for 2d1e75b
src/origin.js
@@ -37,7 +37,7 @@ export class Origin {
37
if (origin === undefined) {
38
PLATFORM.eachModule((key, value) => {
39
if (typeof value === 'object') {
40
- var isBrowserWindow = typeof window !== 'undefined' && value === window;
+ let isBrowserWindow = typeof window !== 'undefined' && value === window;
41
for (let name in value) {
42
if (isBrowserWindow && name === 'webkitStorageInfo') { continue; } // Avoid warning to console
43
try {
0 commit comments