mirror of
				https://github.com/1disk/edp445.git
				synced 2024-08-14 22:47:02 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			535 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			535 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /*globals self, window */
 | |
| import * as ac from "./dist/abort-controller"
 | |
| 
 | |
| /*eslint-disable @mysticatea/prettier */
 | |
| const g =
 | |
|     typeof self !== "undefined" ? self :
 | |
|     typeof window !== "undefined" ? window :
 | |
|     typeof global !== "undefined" ? global :
 | |
|     /* otherwise */ undefined
 | |
| /*eslint-enable @mysticatea/prettier */
 | |
| 
 | |
| if (g) {
 | |
|     if (typeof g.AbortController === "undefined") {
 | |
|         g.AbortController = ac.AbortController
 | |
|     }
 | |
|     if (typeof g.AbortSignal === "undefined") {
 | |
|         g.AbortSignal = ac.AbortSignal
 | |
|     }
 | |
| }
 |