mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-29 18:30:09 +00:00 
			
		
		
		
	cleaned out a not so well thought out experiment...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									5ce24233ab
								
							
						
					
					
						commit
						461ac40509
					
				| @ -252,18 +252,6 @@ var makeItemEventMethod = function(event, handler){ | |||||||
| 	}) } | 	}) } | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| var makeWalker = function(name, func, options){ |  | ||||||
| 	return function(...args){ |  | ||||||
| 		// XXX do we get passed options??
 |  | ||||||
| 		return this.walk2( |  | ||||||
| 			func, |  | ||||||
| 			function(children){ |  | ||||||
| 				return children[name](...args) }, |  | ||||||
| 			function(node){ |  | ||||||
| 				return node && node[name] instanceof Function }, |  | ||||||
| 			options || {}) } } |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 | ||||||
| 
 | 
 | ||||||
| @ -1038,13 +1026,6 @@ var BaseBrowserPrototype = { | |||||||
| 					&& [ (options || {}).joinPaths !== false ?  | 					&& [ (options || {}).joinPaths !== false ?  | ||||||
| 						p.join('/')  | 						p.join('/')  | ||||||
| 						: p ] }, options) }, | 						: p ] }, options) }, | ||||||
| 	// XXX need to be able to update context (i.e. path) ...
 |  | ||||||
| 	paths3: makeWalker('path3', |  | ||||||
| 		function(n, i, p){ |  | ||||||
| 			return n  |  | ||||||
| 				&& [ (options || {}).joinPaths !== false ?  |  | ||||||
| 					p.join('/')  |  | ||||||
| 					: p ] }), |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	// Extended map...
 | 	// Extended map...
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user