tweak: make null window an object in order for this to run with bun
<https://bun.sh/>
This commit is contained in:
parent
b624ab46d7
commit
77680a8590
2
js/node_modules/@stdlib/utils/global/lib/window.js
generated
vendored
2
js/node_modules/@stdlib/utils/global/lib/window.js
generated
vendored
|
@ -20,7 +20,7 @@
|
|||
|
||||
// MAIN //
|
||||
|
||||
var obj = ( typeof window === 'object' ) ? window : null;
|
||||
var obj = ( typeof window === 'object' ) ? window : {};
|
||||
|
||||
|
||||
// EXPORTS //
|
||||
|
|
Loading…
Reference in New Issue
Block a user