mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-30 19:00:09 +00:00 
			
		
		
		
	cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									5ed2c02032
								
							
						
					
					
						commit
						fa8b6d57cd
					
				| @ -2486,12 +2486,19 @@ module.Workspace = ImageGridFeatures.Feature({ | |||||||
| //---------------------------------------------------------------------
 | //---------------------------------------------------------------------
 | ||||||
| // Tasks and Queues...
 | // Tasks and Queues...
 | ||||||
| 
 | 
 | ||||||
|  | // Queued wrapper...
 | ||||||
|  | //
 | ||||||
| var Queued = | var Queued = | ||||||
| module.Queued = | module.Queued = | ||||||
| function(func){ | function(func){ | ||||||
| 	func.__queued__ = true | 	func.__queued__ = true | ||||||
| 	return func } | 	return func } | ||||||
| 
 | 
 | ||||||
|  | // NOTE: for examples see:
 | ||||||
|  | // 		features/examples.js: 
 | ||||||
|  | // 			ExampleActions.exampleQueuedAction(..)
 | ||||||
|  | // 			ExampleActions.exampleMultipleQueuedAction(..)
 | ||||||
|  | 
 | ||||||
| // XXX the general use-case here is to call the queue method multiple 
 | // XXX the general use-case here is to call the queue method multiple 
 | ||||||
| // 		times for instance to handle array elements, might be nice to
 | // 		times for instance to handle array elements, might be nice to
 | ||||||
| // 		automate this...
 | // 		automate this...
 | ||||||
| @ -2536,8 +2543,6 @@ function(func){ | |||||||
| // 		features/examples.js: 
 | // 		features/examples.js: 
 | ||||||
| // 			ExampleActions.exampleTask(..)
 | // 			ExampleActions.exampleTask(..)
 | ||||||
| // 			ExampleActions.exampleSessionTask(..)
 | // 			ExampleActions.exampleSessionTask(..)
 | ||||||
| 
 |  | ||||||
| //
 |  | ||||||
| // NOTE: we can pass sync/async to this in two places, in definition:
 | // NOTE: we can pass sync/async to this in two places, in definition:
 | ||||||
| // 			var action = taskAction('some title', 'sync', function(..){ .. })
 | // 			var action = taskAction('some title', 'sync', function(..){ .. })
 | ||||||
| // 		or
 | // 		or
 | ||||||
| @ -2549,8 +2554,6 @@ function(func){ | |||||||
| // 		during the later form 'sync' is passed to .Task(..) in the correct
 | // 		during the later form 'sync' is passed to .Task(..) in the correct
 | ||||||
| // 		position...
 | // 		position...
 | ||||||
| // 		(see ig-types' runner.TaskManager(..) for more info)
 | // 		(see ig-types' runner.TaskManager(..) for more info)
 | ||||||
| //
 |  | ||||||
| // XXX might be nice to add metadata like start times and the like...
 |  | ||||||
| var taskAction = | var taskAction = | ||||||
| module.taskAction = | module.taskAction = | ||||||
| function(title, func){ | function(title, func){ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user