mirror of
				https://github.com/1disk/edp445.git
				synced 2024-08-14 22:47:02 +00:00 
			
		
		
		
	Changed alot of things.
This commit is contained in:
		
							parent
							
								
									a5a0523e5a
								
							
						
					
					
						commit
						3513d5390c
					
				
					 2016 changed files with 336930 additions and 9 deletions
				
			
		
							
								
								
									
										20
									
								
								node_modules/whatwg-url/lib/utils.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								node_modules/whatwg-url/lib/utils.js
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| "use strict"; | ||||
| 
 | ||||
| module.exports.mixin = function mixin(target, source) { | ||||
|   const keys = Object.getOwnPropertyNames(source); | ||||
|   for (let i = 0; i < keys.length; ++i) { | ||||
|     Object.defineProperty(target, keys[i], Object.getOwnPropertyDescriptor(source, keys[i])); | ||||
|   } | ||||
| }; | ||||
| 
 | ||||
| module.exports.wrapperSymbol = Symbol("wrapper"); | ||||
| module.exports.implSymbol = Symbol("impl"); | ||||
| 
 | ||||
| module.exports.wrapperForImpl = function (impl) { | ||||
|   return impl[module.exports.wrapperSymbol]; | ||||
| }; | ||||
| 
 | ||||
| module.exports.implForWrapper = function (wrapper) { | ||||
|   return wrapper[module.exports.implSymbol]; | ||||
| }; | ||||
| 
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue