mirror of
				https://github.com/flynx/object.js.git
				synced 2025-10-30 02:50:10 +00:00 
			
		
		
		
	docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									b655b33d71
								
							
						
					
					
						commit
						f3fd1845ff
					
				| @ -264,6 +264,15 @@ var m = object.mixin(Base(), utilityMixin) | |||||||
| `.mixin(..)` will copy the contents of `utilityMixin` into the prototype  | `.mixin(..)` will copy the contents of `utilityMixin` into the prototype  | ||||||
| chain between `m` and `m.__proto__`. | chain between `m` and `m.__proto__`. | ||||||
| 
 | 
 | ||||||
|  | We can also remove the mixin... | ||||||
|  | ```javascript | ||||||
|  | m = o.mixout(m, utilityMixin) | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | The mixed-in data is removed iff an object is found in the chain with the | ||||||
|  | same number of attributes as `utilityMixin` and with each attribute matching | ||||||
|  | identity with the corresponding attribute in the mixin. | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| Constructor-based mixin... | Constructor-based mixin... | ||||||
| ```javascript | ```javascript | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user