You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							10 lines
						
					
					
						
							337 B
						
					
					
				
			
		
		
	
	
							10 lines
						
					
					
						
							337 B
						
					
					
				| var isObject = require('./_is-object');
 | |
| var setPrototypeOf = require('./_set-proto').set;
 | |
| module.exports = function (that, target, C) {
 | |
|   var S = target.constructor;
 | |
|   var P;
 | |
|   if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
 | |
|     setPrototypeOf(that, P);
 | |
|   } return that;
 | |
| };
 |