Skip to content

Commit 6173234

Browse files
Merge pull request #475 from emberjs/drop-support-for-global-global
Drop support for the 'global' global. Every supported environment has `globalThis`
2 parents c54a693 + afc8233 commit 6173234

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

addon/addon/waiter-manager.ts

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ function getGlobal(): Indexable {
3333
if (typeof globalThis !== 'undefined') return indexable(globalThis);
3434
if (typeof self !== 'undefined') return indexable(self);
3535
if (typeof window !== 'undefined') return indexable(window);
36-
if (typeof global !== 'undefined') return indexable(global);
3736

3837
throw new Error('unable to locate global object');
3938
}

0 commit comments

Comments
 (0)