Simplify return
							parent
							
								
									04e9489239
								
							
						
					
					
						commit
						b74a212c80
					
				| 
						 | 
					@ -446,9 +446,7 @@ function pairUpElements(elements: IPostElement[]): IPostElement[] {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // Now we find all the elements between indexes and
 | 
					  // Now we find all the elements between indexes and
 | 
				
			||||||
  // associate them with the previous "title" element
 | 
					  // associate them with the previous "title" element
 | 
				
			||||||
  const data = indexes.map((i, j) => parseGroupData(i, j, indexes, shallow));
 | 
					  return indexes.map((i, j) => parseGroupData(i, j, indexes, shallow));
 | 
				
			||||||
 | 
					 | 
				
			||||||
  return data;
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function filterValidElements(element: IPostElement, index: number, array: IPostElement[]): boolean {
 | 
					function filterValidElements(element: IPostElement, index: number, array: IPostElement[]): boolean {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue