mirror of
				https://github.com/flynx/actions.js.git
				synced 2025-10-31 11:20:10 +00:00 
			
		
		
		
	removed .length prop from action set...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									48506495e7
								
							
						
					
					
						commit
						2166fa31ac
					
				
							
								
								
									
										17
									
								
								actions.js
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								actions.js
									
									
									
									
									
								
							| @ -402,6 +402,17 @@ Action.prototype.__proto__ = Function | |||||||
| // 		-> result
 | // 		-> result
 | ||||||
| // 		
 | // 		
 | ||||||
| // 		
 | // 		
 | ||||||
|  | // Call data format:
 | ||||||
|  | // 	{
 | ||||||
|  | //		arguments: args,
 | ||||||
|  | //
 | ||||||
|  | //		wrapper: call_wrapper,
 | ||||||
|  | //		handlers: handlers,
 | ||||||
|  | //
 | ||||||
|  | //		result: res,
 | ||||||
|  | // 	}
 | ||||||
|  | //
 | ||||||
|  | //
 | ||||||
| // NOTE: All the defaults should be handled by the pre stage, post will 
 | // NOTE: All the defaults should be handled by the pre stage, post will 
 | ||||||
| // 		process data assuming that it is correct.
 | // 		process data assuming that it is correct.
 | ||||||
| //
 | //
 | ||||||
| @ -595,12 +606,6 @@ module.MetaActions = { | |||||||
| 		return res | 		return res | ||||||
| 	}, | 	}, | ||||||
| 
 | 
 | ||||||
| 	// Number of defined actions...
 |  | ||||||
| 	//
 |  | ||||||
| 	get length(){ |  | ||||||
| 		return this.actions.length |  | ||||||
| 	}, |  | ||||||
| 
 |  | ||||||
| 	// Get action attribute...
 | 	// Get action attribute...
 | ||||||
| 	//
 | 	//
 | ||||||
| 	getActionAttr: function(action, attr){ | 	getActionAttr: function(action, attr){ | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
|   "name": "ig-actions", |   "name": "ig-actions", | ||||||
|   "version": "2.0.0", |   "version": "3.0.0", | ||||||
|   "description": "", |   "description": "", | ||||||
|   "main": "actions.js", |   "main": "actions.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user