mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-11-04 07:39:03 +00:00 
			
		
		
		
	update
This commit is contained in:
		
							
								
								
									
										19
									
								
								node_modules/rxjs/_esm5/util/root.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/rxjs/_esm5/util/root.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,19 @@
 | 
			
		||||
// CommonJS / Node have global context exposed as "global" variable.
 | 
			
		||||
// We don't want to include the whole node.d.ts this this compilation unit so we'll just fake
 | 
			
		||||
// the global "global" var for now.
 | 
			
		||||
/** PURE_IMPORTS_START  PURE_IMPORTS_END */
 | 
			
		||||
var __window = typeof window !== 'undefined' && window;
 | 
			
		||||
var __self = typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' &&
 | 
			
		||||
    self instanceof WorkerGlobalScope && self;
 | 
			
		||||
var __global = typeof global !== 'undefined' && global;
 | 
			
		||||
var _root = __window || __global || __self;
 | 
			
		||||
// Workaround Closure Compiler restriction: The body of a goog.module cannot use throw.
 | 
			
		||||
// This is needed when used with angular/tsickle which inserts a goog.module statement.
 | 
			
		||||
// Wrap in IIFE
 | 
			
		||||
/*@__PURE__*/ (function () {
 | 
			
		||||
    if (!_root) {
 | 
			
		||||
        throw new Error('RxJS could not find any global context (window, self, global)');
 | 
			
		||||
    }
 | 
			
		||||
})();
 | 
			
		||||
export { _root as root };
 | 
			
		||||
//# sourceMappingURL=root.js.map
 | 
			
		||||
		Reference in New Issue
	
	Block a user