Vendored
+1
-10
@@ -24,16 +24,7 @@
|
||||
*/
|
||||
// The one and only way of getting global scope in all environments
|
||||
// https://stackoverflow.com/q/3277182/1008999
|
||||
var _global = function () {
|
||||
// some use content security policy to disable eval
|
||||
try {
|
||||
return Function('return this')() || (42, eval)('this');
|
||||
} catch (e) {
|
||||
// every global should have circular reference
|
||||
// used for checking if someone writes var window = {}; var self = {}
|
||||
return typeof window === 'object' && window.window === window ? window : typeof self === 'object' && self.self === self ? self : typeof global === 'object' && global.global === global ? global : this;
|
||||
}
|
||||
}();
|
||||
var _global = typeof window === 'object' && window.window === window ? window : typeof self === 'object' && self.self === self ? self : typeof global === 'object' && global.global === global ? global : void 0;
|
||||
|
||||
function bom(blob, opts) {
|
||||
if (typeof opts === 'undefined') opts = {
|
||||
|
||||
Reference in New Issue
Block a user