mirror of
				https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
				synced 2025-10-31 01:55:29 +00:00 
			
		
		
		
	Fixed some build options for vite
This commit is contained in:
		
							
								
								
									
										33
									
								
								node_modules/reusify/reusify.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								node_modules/reusify/reusify.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| 'use strict' | ||||
|  | ||||
| function reusify (Constructor) { | ||||
|   var head = new Constructor() | ||||
|   var tail = head | ||||
|  | ||||
|   function get () { | ||||
|     var current = head | ||||
|  | ||||
|     if (current.next) { | ||||
|       head = current.next | ||||
|     } else { | ||||
|       head = new Constructor() | ||||
|       tail = head | ||||
|     } | ||||
|  | ||||
|     current.next = null | ||||
|  | ||||
|     return current | ||||
|   } | ||||
|  | ||||
|   function release (obj) { | ||||
|     tail.next = obj | ||||
|     tail = obj | ||||
|   } | ||||
|  | ||||
|   return { | ||||
|     get: get, | ||||
|     release: release | ||||
|   } | ||||
| } | ||||
|  | ||||
| module.exports = reusify | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens