forked from sheetjs/sheetjs
globalThis testing for SuiteScript 2.x [ci skip]
This commit is contained in:
parent
9015cdffd3
commit
9fc0ab7fa0
1
jszip.js
1
jszip.js
@ -17,6 +17,7 @@ Note: since JSZip 3 removed critical functionality, this version assigns to the
|
||||
else if("function"==typeof define&&define.amd&&"undefined"==typeof DO_NOT_EXPORT_JSZIP){JSZipSync=e();define([],e);}
|
||||
else{
|
||||
var f;
|
||||
"undefined"!=typeof globalThis?f=globalThis:
|
||||
"undefined"!=typeof window?f=window:
|
||||
"undefined"!=typeof global?f=global:
|
||||
"undefined"!=typeof $ && $.global?f=$.global:
|
||||
|
Loading…
Reference in New Issue
Block a user