mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	minor tweaks and notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									e5556fb34b
								
							
						
					
					
						commit
						9e79b6a0b1
					
				| @ -666,7 +666,7 @@ var BaseBrowserPrototype = { | |||||||
| 						// normalize list...
 | 						// normalize list...
 | ||||||
| 						list = list === true ? | 						list = list === true ? | ||||||
| 						   		sublist	 | 						   		sublist	 | ||||||
| 							:(!iterateCollapsed && elem.collapsed) ? | 							: (!iterateCollapsed && elem.collapsed) ? | ||||||
| 								[] | 								[] | ||||||
| 							: (list || sublist) | 							: (list || sublist) | ||||||
| 						// adjust index...
 | 						// adjust index...
 | ||||||
| @ -676,7 +676,7 @@ var BaseBrowserPrototype = { | |||||||
| 								// request manual iteration...
 | 								// request manual iteration...
 | ||||||
| 								list === false ? | 								list === false ? | ||||||
| 									[] | 									[] | ||||||
| 								:list instanceof Array ? | 								: list instanceof Array ? | ||||||
| 									walk(i, p, list) | 									walk(i, p, list) | ||||||
| 								// user-defined recursion...
 | 								// user-defined recursion...
 | ||||||
| 								: recursion instanceof Function ? | 								: recursion instanceof Function ? | ||||||
| @ -720,6 +720,8 @@ var BaseBrowserPrototype = { | |||||||
| 							: []) | 							: []) | ||||||
| 						// append the actual element...
 | 						// append the actual element...
 | ||||||
| 						.concat( | 						.concat( | ||||||
|  | 							// NOTE: func MUST return an array...
 | ||||||
|  | 							// XXX can we make this more lenient???
 | ||||||
| 							func.call(that,  | 							func.call(that,  | ||||||
| 								// NOTE: for inline elements we do not need to 
 | 								// NOTE: for inline elements we do not need to 
 | ||||||
| 								//		count the header...
 | 								//		count the header...
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user