mirror of
				https://github.com/flynx/features.js.git
				synced 2025-10-31 03:10:09 +00:00 
			
		
		
		
	working on docs..
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									05c411e7ba
								
							
						
					
					
						commit
						9c74ae7a32
					
				| @ -69,7 +69,7 @@ var Base = Actions({ | ||||
|     console.log(this.value) | ||||
|   }], | ||||
| 
 | ||||
|   times: ['get value', | ||||
|   times: ['value times n', | ||||
|     function(n){ | ||||
|       this.value *= n | ||||
| 
 | ||||
| @ -79,6 +79,7 @@ var Base = Actions({ | ||||
| 
 | ||||
| 
 | ||||
| var Extending = Actions(Base, { | ||||
|   // Extend the .times(..) action... | ||||
|   times: [function(n){ | ||||
|     console.log(this.value, 'times', n, 'is:') | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user